Url structure to product page and redirect 301 old links

Hi, We have a prestashop website. On the website the links are consisted as: sitename.com/category/product-id.html We want to change this like: sitename.com/product-id You know this is possible to change the links like that on the Admin>Shopparameters> Meta. But the problem, when we change these links, we need a automatic refferal to new link as 301. After setting new links, when someone click to old link, it will refferal to new link. Is it possible already? Or can you make a work about this? Thank you in advance.


Hello
it can be done "in bulk" for all products with our module "seo redirect 301": https://mypresta.eu/modules/seo/seo-redirects-301-302-303.html
module has feature to define wildcard redirections or redirections based on regular expressions. it will be enough to create one redirection to redirect all of these old products' urls to new one.

Just create one redirection like i show here: 


old url:
http\:\/\/domain\.com\/([a-z]+)\/([0-9]+)\-([a-z\-0-9]+)\.html

redirect to:
http://domain.com/{1}/{3}-{2}


best regards,
milos
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment