Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [routing]

Denotes questions related to the routing mechanism of Magento

32
votes
3answers
22k views

How to update admin routers of custom module for patch SUPEE-6788

I'm not sure how to update custom modules to work with the SUPEE-6788 patch, the instructions are not very clear. Based on Alan Storm's tutorial, I created a simple module in the generator www....
70
votes
5answers
17k views

How to check which modules are affected by security patch SUPEE-6788

On October 27, 2015, Magento has released security patch SUPEE-6788. According to the technical details, 4 APPSEC's that have been fixed require some rework in local and community modules: APPSEC-...
6
votes
5answers
1k views

Load review form on external page

By default the Magento URL for the review form is: www.domain.com/(producturl)-reviews#review-form. But in this page the review-form is a section in the reviews page. I want to load the review-form ...
7
votes
3answers
4k views

Magento 2 CE: Front controller reached 100 router match iterations Issue

I'm using Magento 2 CE Version 2.1.0 Taking reference of http://inchoo.net/magento-2/routing-in-magento-2/ for Routing. My Router.php Controller Code public function match(\Magento\Framework\App\...
4
votes
2answers
2k views

How does home page routing work

A module usually contains a routes.xml file which, as I understand it, specifies the routes which the module handles. I would like to know how routing is handled for the home page, for example for ...
7
votes
1answer
531 views

Reserved keyword in controller action - Magento 2

I am working on an admin grid concept. I found one github source code and analyzed that one. While I found the URL is different from the declaration in the UI component layout. <item name="url" ...
0
votes
1answer
569 views

Magento 2: How to define Scope For Router.php

I have created Custom Module. As it requires some front-end routing, have to create Router.php Whenever I'm accessing Magento eCommece Frontend other pages, say Category/Product Page. It will call my ...
0
votes
3answers
688 views

Magento 2: How to route the page to catalogsearch/advanced/result/ page with abc/xyz.html Url

I created an observer to catch the event when a new url is requested with <event name="controller_front_send_response_before"> <observer name="brands_index_events_observer" instance="...
4
votes
1answer
2k views

How Magento 2 Routing Works

I need to know how magento 2 Routing Works... I want to know that when we request for any task in magento 2 then how its process to controller... Like I used command line console...' Then how my ...
2
votes
2answers
365 views

Using __call in a controller

Is there any examples of using __call in a controller to replace a specific action method. I have a situation where I need to provide different endpoints to the same controller. A reference to each ...
3
votes
1answer
240 views

Overwriting controller vs overwriting action controller request

I'm busy working though Grokking Magento by Vinai Kopp, and reached a part where he explains where he explains how to rewrite requests to (eg) the checkout/cart controller, and he gives an example of ...
2
votes
2answers
2k views

Check action noRoute (404) on Every page using Observer not working Magento 2

How to check action noRoute (404) on every page using Observer? etc/events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
2answers
1k views

Magento 2 admin - can no longer save configurable products after upgrade to 2.1

After upgrading from 2.0.7 to 2.1, none of my configurable products will save on edit. In the browser console I can see there is an ajax call to the Product/Validate controller that returns a 404 ...
2
votes
1answer
4k views

Magento Core Routes

Does anybody know of a comprehensive list of Magento Core's routes? I'm sure I could create a pretty accurate list by parsing the controller files for Action methods, I'm just wondering if anybody ...
0
votes
1answer
383 views

Magento 2 Create Module with same frontName as other module?

I have to extend functionality of Magento_Customer module and new some more controller under customer/account like customer/account/mobileVerification so my question is, Is okay to have the same ...
6
votes
3answers
3k views

Disable admin or frontend route

Is there a way to disable an admin route, well actually any route. The use case is I have an extension that comes with a frontend section and an admin section but I do not want the admin section to be ...