Jump to content

Edit History

Yuyuela

Yuyuela

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

Yuyuela

Yuyuela

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 managed to convert it to:
domain.com/es/content/22-cafeterias/2
but now I need to 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?

Many thanks

Yuyuela

Yuyuela

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 managed to convert it to:
domain.com/es/content/22-cafeterias/2
but now I need to 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?

Many thanks

Yuyuela

Yuyuela

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 would like it to be something like this:
domain.com/en/content/22-cafeterias/2
later even something like this:
domain.com/en/content/22-cafeterias/girona
but i can't even put the id in the url :(

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

Thank you very much

Yuyuela

Yuyuela

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 would like it to be something like this:
domain.com/es/content/22-cafeterias/2,
later even something like this:
domain.com/en/content/22-cafeterias/girona
but i can't even put the id in the url :(

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

Thank you very much

×
×
  • Create New...