Make a good url without the index with magento
-
16-10-2019 - |
Question
The url needs to look like:
brands/Subway
brands/Mcdonalds
brands/Lego
brands/Barbie
brands/Duplo
brands/.....
How can i make this url work where the brand is a variable.
I have tried to make a module but in that case I get an url like brands/index/brands/Subway
I also don't want to make a rewrite for every brand (100+)
Solution
Your question was answered here. it involves creating a new router inside the brands module that handles urls that start with brands
.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange