Jump to content

Changing pagination url


Marti88

Recommended Posts

Hello, I'm moving the store to a newer version 1.7.8. In my old store, the pagination subpage links looked like this: "?p=5" in the new store "?page=5" Where can I look for files that generate the address? For SEO reasons, I have to go back to this address: "?p=5"

Link to comment
Share on other sites

Hi,

Pagination links are typically generated by template files in your theme's folder.

  • Find for any tpl files similar to pagination-seo.tpl 
  • Modify the code to use "?p=" instead of "?page="
  • After making changes to the pagination links, You may need to update your SEO settings in the Prestashop back office to ensure that URLs are rewritten accordingly.
  • Once you've made the modifications, test your pagination links thoroughly to ensure they work as expected and that they maintain proper SEO practices.

 

NOTE: Remember to backup your theme files before making any modifications

Let me know if this helps

Thanks!

Link to comment
Share on other sites

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...