Jump to content

SOLVED reedirect old prestashop urls to a new folder and not loss SEO


dreg101

Recommended Posts

SOLVED Hi everyone.

I have an old prestashop installation, with verson 1.6,  i created a new installation in another folder with an installation of prestashop ver 1.7.

but i still have a lot of traffic in the version 1.6, I did a reedirect of the home in 1.6 to the new home in 1.7

but when i go to google and search something and the destination is as example a category, the reedirection dont work, so the question is, is there a way to reedirect a specific url to another specific url, in order to not loose trafic?

below you can see the code that i think that is reedirecting the traffic

RewriteCond %{HTTP_HOST} ^drexeldieselparts\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.drexeldieselparts\.com$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/drexeldieselparts\.com\/catalogo" [R=301,L]

 

Edited by dreg101 (see edit history)
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...