Jump to content

Links from google after changing URL scheme in BO


Recommended Posts

56 minutes ago, Nickz said:

To get help oh yes.

Prestashop Version, theme?
You are trying to archieve what exactly?

Hehe, ok :)

PS 1.7.8.8 with zOne Theme

I'm trying to change the pattern of my URL's. Today i don't have the category path in the URL. And, when i change the URL setting (as above) all product links are broken from i.e. Google search results etc.

Is there a way to avoid the broken links?

Link to comment
Share on other sites

2 hours ago, Boran Chesnik said:

Is there a way to avoid the broken links?

Without knowng what you did before that issue came up not really.

What you can do is to get the list and see if there is a common nominator, like yourshop.com/category/whatever and  redirect the urls to yourshop.com/category over .htaccess.

Link to comment
Share on other sites

I did not do anything! I just want to change my original URL structure to something else, and when i do the links are broken when i access them via google search results.

So, is there a way to set some rewriting function without have to add the manually? I have over 25.000 products...

Link to comment
Share on other sites

On 3/19/2023 at 6:56 AM, Boran Chesnik said:

Hi

I tried to change 

{-:id_product_attribute}{rewrite}-{id}.html

to

{category}/{-:id_product_attribute}{rewrite}-{id}.html

and when i try to access my shop via google search results i get "Page not found"

Am i missing something here?

Thanks!

 

If you change url then you need to build rewrites from old url to new url.  

there are 301/302 rewrite modules on addons you can use or add to top of .htaccess

my advice is to not change the url's, there is really no good reason for it anymore....

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