Jump to content

Single store multiple domains 302 Redirect Loop


Recommended Posts

Hi everyone,

 

I have a specific problem on a 1.6 prestashop.

 

I currently have two domains that I would like to resolve as HTTP 200 on the same prestashop db and install. 

 

The main problem: the main domain configured as the prestashop default works great, however the second domain 302's to the root domain. this is also applicable to internal pages i.e domain.com/landing-page redirects to maindomain.es

 

What im trying to achieve: via .htaccess I want to control the redirects so that domain.com/landing-page redirects to maindomain.es/landing-page.

 

I would do this via a regex so its applicable to all possible combinations and ensure its a 301 to avoid issues with SEO.

 

Things I have so far checked and 99.9% sure are working (second pair of eyes are really welcomed)

.htaccess I have ensured no weird redirects exist and tested it with a thrid party tool

Checked seo and urls settings in Prestashop to ensure that no redirect exists I set this to none. (PS: If I set the setting to 301 it does obey but again its any page redirect to home which defeats my goal.

Checked the server as per a previous post from El Patron

 

Thoughts or ideas would be welcomed, ping me if you want more info.

 

thanks in advance

Link to comment
Share on other sites

×
×
  • Create New...