Monthly Archives: August 2020

Prestashop: Stop subdomains from keep redirecting to main domain

Source: https://www.prestashop.com/forums/topic/635858-2nd-store-redirects-to-main-store-multistore-redirection-problem/?tab=comments#comment-2634035 After installing prestashop, created subdomains don’t work properly due to the .htaccess rewrite conditions automatically created by prestashop. Add the following right at the end to solve this issue RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] ////////////////// some … Continue reading

Posted in troubleshoot | Tagged , | Comments Off on Prestashop: Stop subdomains from keep redirecting to main domain