tukaz Posted August 23, 2020 Share Posted August 23, 2020 Hello, I found many similar questions and posts but no one solved my problem, please help. Prestashop ver. 1.7.6 All requests in main domain root folder must be routed to index.php file .htaccess file in domain root folder <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} !^/store RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . index.php [L] </IfModule> Prestashop installed in to /domain root/store/ directory and must be accessed using www.mydomain.com/store URL part of .htaccess file from /domain root/store/ folder #Domain: www.mydomain.com RewriteRule . - [E=REWRITEBASE:/store/] RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] When I trying access shop using https://www.mydomain.com/store getting redirected to:https://www.mydomain.comstore/lt/ and looks like there missing one / symbol in URL Database record in ps_shop_url domain=www.mydomain.com domain_ssl=www.mydomain.com physical_url=/store/ active=1 main=1 I tried remove .htaccess from domain root without any success. Please point me right direction what i missing. Thank you Link to comment Share on other sites More sharing options...
tukaz Posted August 23, 2020 Author Share Posted August 23, 2020 OK, finally found the problem. In apache2 config from beginning enabled SSL, this is main problem for my fresh install. Solution: Using /phpmyadmin/ enable 2 options directly in database ps_configuration table PS_SSL_ENABLED = 1 PS_SSL_ENABLED_EVERYWHERE = 1 Problem gone away Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now