Questions tagged [routing]

Denotes questions related to the routing mechanism of Magento

Filter by
Sorted by
Tagged with
34 votes
3 answers
23k 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....
zitix's user avatar
  • 2,182
71 votes
5 answers
18k 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-...
Aad Mathijssen's user avatar
6 votes
5 answers
2k 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 ...
JGeer's user avatar
  • 1,446
9 votes
1 answer
1k 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" ...
Bilal Usean's user avatar
  • 9,837
8 votes
3 answers
11k 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\...
Jackson's user avatar
  • 9,749
5 votes
2 answers
4k 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 ...
gwideman's user avatar
  • 505
1 vote
1 answer
885 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 ...
Jackson's user avatar
  • 9,749
0 votes
3 answers
1k 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="...
Hoang Huynh Nhat's user avatar
6 votes
3 answers
4k 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 ...
David Manners's user avatar
5 votes
5 answers
9k views

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....
Jackson's user avatar
  • 9,749
5 votes
1 answer
530 views

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 = ...
Birjitsinh Zala's user avatar
4 votes
1 answer
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 ...
Deepak Rai's user avatar
  • 1,135
3 votes
3 answers
4k 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:...
Magento2 Devloper's user avatar
3 votes
1 answer
363 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 ...
Skytiger's user avatar
  • 511
2 votes
1 answer
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 ...
Peter O'Callaghan's user avatar
2 votes
3 answers
3k 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 ...
Michael A's user avatar
  • 181
2 votes
2 answers
543 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 ...
develophper's user avatar
  • 2,194
1 vote
1 answer
380 views

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 ...
fritzmg's user avatar
  • 717
0 votes
2 answers
1k 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 ...
Arun Karnawat's user avatar