Jump to content

Friendly url new cms with template and url parameters


Yuyuela
 Share

Recommended Posts

Posted (edited)

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)

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More