1

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+)

1 Answer 1

1

Your question was answered here. it involves creating a new router inside the brands module that handles urls that start with brands.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.