Jump to content

Redirect Problem after SSL Activation


ijanssen

Recommended Posts

After activating SSL for my domain, I can't get access to the web shop anymore. 

I followed the instructions adding  following to  .htaccess: 

 

         RewriteCond %{SERVER_PORT} 80

         RewriteRule ^(.*)$ https://yoursitename.com/$1 [R,L]

 

However, the access still does not work: 

       "Die aufgerufene Website leitet die Anfrage so um, dass sie nie beendet werden kann."

 

Thanks for any help

 

Link to comment
Share on other sites

Hello!

As far as I see from your message you get "infinite redirect loop".

This is a common problem.  So you access your site from https://your-url.com but PrestaShop say this is not correct url and try to redirect to http://your-url.com and then your .htaccess try to redirect back to https and it continues without stop.

 

So what I suggest you do:

The first step I think you will need to remove added lines from .htaccess (to see a website)

1) Please clean PrestaShop cache (this could solve problem)

2) Make sure that you correctly activate ssl on PrestaShop backend. Couple of articles - >http://doc.prestashop.com/display/PS16/General+Preferences and https://www.prestashop.com/en/blog/guest-blogger-series-prestashop-ssl-installation-troubleshooting and https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/prestashop2/enabling-ssl-for-prestashop

3) Check that your website could be accessed by https protocol.

4) If all is fine try to add lines into .htaccess that will blocks access website from http address.

 

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...