Jump to content

Friendly url new cms with template and url parameters


Yuyuela

Recommended Posts

I have a problem with some URLs...

I have created a new cms page and I have associated a new template to which I pass a store id parameter where I show the information of that store.

All this works, but I have a problem with the urls, because I have the style:
domain.com/en/content/22-cafeterias?id_store=2
and I want to convert it to:
domain.com/es/content/22-cafeterias/2
to later transform the id into something more descriptive, which would be the title of the page, for example:
dominio.com/es/content/22-cafeterias/girona

Neither in Dispatcher.php nor through the .htaccess file do I have anything. Does anyone have any idea of the solution?

Thank you very much

Edited by Yuyuela (see edit history)
Link to comment
Share on other sites

  • Yuyuela changed the title to Friendly url new cms with template and url parameters
  • 2 weeks later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...