Questions tagged [routing]
Denotes questions related to the routing mechanism of Magento
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....
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-...
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 ...
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" ...
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\...
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 ...
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 ...
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="...
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 ...
Custom router is not working in Router.php Magento 2 [SOLVED]
I am trying to redirect the page/action by using a custom router as Router.php, but I am getting 100 router match iterations exception. app\code\Custom\Module\etc\frontend\di.xml <?xml version="1....
Front controller reached 100 router match iterations
I am trying to rewrite url in routes.php with magento 2.2.2 version. url key is dynamically set from configuration. got this error :: Front controller reached 100 router match iterations $urlKey = ...
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 ...
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:...
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 ...
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 ...
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 ...
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 ...
route shows user login page title
In one Magento 2.2.6 instance something very odd occurs: the meta page title shows <title>Customer Login</title> and the page title in the content also shows Customer Login - even though ...
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 ...