Skip to main content

Questions tagged [routing]

Denotes questions related to the routing mechanism of Magento

1 vote
1 answer
143 views

I am working on a custom page module and want to make a custom route however I would like to use the catalog_category_view.xml layout, instead of the [module_name]_index_index.xml needed for my route ...
A. Andersen's user avatar
2 votes
1 answer
238 views

Every day we get 100 if not 1000's of main.CRITICAL: Front controller reached 100 router match iterations error in our log. var/report is full of logs. Yesterday we had 280 logs in /report. in var/...
Jan-petter Havna's user avatar
0 votes
4 answers
691 views

I've created and enabled a module at app/code/Post/Test: app/code/Post/Test/registration.php: <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\...
Timothy Fisher's user avatar
0 votes
1 answer
678 views

Just wrote the following controller: namespace MySite\MyCustomModule\Controller\Dashboard; use Magento\Customer\Controller\AccountInterface; use Magento\Framework\App\Action\HttpGetActionInterface as ...
Elf-12's user avatar
  • 11
0 votes
1 answer
366 views

I'm currently running a Multistore Magento 2 site, I have 4 websites configured, 2 of which have multiple URL's to access the site. As a case example I have: domain-a.com www.domain-a.com domain-a.co....
Duncan Wardlaw's user avatar
0 votes
1 answer
698 views

This is a simple Hello World in a Block, I would like how can I get the URL of this, to check the website this HelloWorld. I don't know to check my exercises, because I don't know how to get the URL ...
VictorMeanStack's user avatar
0 votes
1 answer
2k views

I am trying to redirect a cms page to a custom controller. in router.php I can check the current URL, If the current URL is as an example if it matches /test-url i want to do a redirect to /test-url-...
Tj1997's user avatar
  • 47
0 votes
1 answer
290 views

I want to redirect a custom URL and change the URL path ONLY. If my URL is www.domain.com/about-company or www.domain.com/product-a-faq I want these to be shown in different URL examples -> www....
Tj1997's user avatar
  • 47
1 vote
0 answers
224 views

I have used this url to change it but i am keeping getting the same erros https://magento.stackexchange.com/a/209478/96152 i have a custom routes.xml <?xml version="1.0"?> <config ...
Tj1997's user avatar
  • 47
0 votes
1 answer
1k views

I'm looking to create a custom router so that if I go to www.mysite.com/promotions/cruise-trip it would route to www.mysite/offers/promotions/index/id/5 for example. I'm not really sure how to do this ...
SNAFU's user avatar
  • 316
0 votes
1 answer
226 views

I have a local Magento 2 site, not much changed recently. But all of a sudden, all custom routing, no matter what module it is from, is broken. In admin and frontend, I get 404s (from Magento, not a ...
rita's user avatar
  • 111
0 votes
1 answer
198 views

My target URL is: http://mylocalhost/devis/customer/printPdf But it triggers a 404 and I can't find why I have my frontend router app/code/FT/Devis/etc/frontend/routex.xml <?xml version="1.0&...
Clong's user avatar
  • 1,354
0 votes
1 answer
698 views

I have created a custom controller and die on controller execute page but it goes to 404 ? COntroller file ( path : app/code/Mageplaza/HelloWorld/Controller/Index/helloworld.php ) <?php namespace ...
Prits's user avatar
  • 664
3 votes
1 answer
2k views

I have created a custom module that for the most part works great, it's frontend routes work flawlessly and it hasn't had issues. Recently I attempted to create a custom admin grid by following https:/...
joeybab3's user avatar
  • 398
2 votes
1 answer
548 views

I am trying to redirect a cms page to a new route which I have created for frontend. I am not sure if we can redirect to the new custom module route frontend with a config in admin area. My aim is I ...
Jack Brooks's user avatar

15 30 50 per page
1
2 3 4 5
9