Ticket #25741 - Problems with URLs in mobile versions

I’m designing a template for product pages in Alysum theme. I have installed this plugin for “pretty URLs”:

https://addons.prestashop.com/en/url-redirects/16633-pretty-url-seo-friendly-url-removes-ids-numbers.html

The problem is, when I switch from desktop to mobile version, the page URL changes from someting like this:
https://mi-site-url/gb/construction/equipment/floor-polishers/universal-stone-floor-polisher-singlephase-lm30ve
to something like this:
https://mi-site-url/gb/mobile/product/134-universal-stone-floor-polisher-singlephase-lm30ve

This second URL doesn’t follow the rules for product URLs in my site, so I get a PrestaShopException error (and the page doesn’t work). See the attached file for details.

I don’t know if there is a way to deactivate different URLs for mobile versions (I has been looking for it and I couldn’t find the option). Or how to make work Alysum theme with Pretty URL module.

Thanks in advance.

Attachments:

error.jpg (101.9 KiB)

Comments

Dinamic Comunicación 03 Sep 2024, 12:53

I discovered it's related with Promokit AMP module. I deactivated it, and the problem was solved.

So don't worry about that. Thanks!

Fred 03 Sep 2024, 20:24

Yes, AMP have it's own rules.
No problem to have it disabled