Jump to content

Edit History

dreg101

dreg101

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]

 

dreg101

dreg101

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]

 

×
×
  • Create New...