Redirect Loops

Website loads well in Chrome, but gives redirect loop in Safari

This can be caused by your server configuration, or by the SSL certificate. Read this article  on how to check if it is caused by your certificate. For the server configuration, you can try the steps below.

On some servers, Safari may have issues with certain .htaccess redirects. To solve this, you can either remove the .htaccess redirect by

  1. Activating “stop editing the htaccess” in the Really Simple SSL settings
  2. Deleting the Really Simple SSL comments from the .htaccess

 

Or you can try different .htaccess rules. I’ve had reports that the following did work in one such case

    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)?$ https://%{SERVER_NAME}%/$1 [R=301,L]

Though this is certainly not a best practice, and will not work always.

If you have this issue, please let me know if you found another solution or if this did work for you.

Related Articles

  • My website is in a redirect loop

    When you experience a redirect loop, this can be caused by several things, I’ve listed the most common causes below. Most checks can be done without access to the back-end....
  • SSL with CloudFlare and Really Simple SSL

    If you are a CloudFlare user, there are a few things to consider when migrating to SSL. If you run into redirect loops when you use CloudFlare, and have activated...
  • Redirect loop in WordPress admin only, not on front end

    WordPress depends on a variable, $_SERVER[“HTTPS”] to check if it is on SSL. As a consequence, when this variable is not set, and SSL is forced, WordPress tries to redirect back...
  • Recommended .htaccess redirect option

    If you didn’t enable the .htaccess redirect in your site, you may see a new plus one, with a notice in your dashboard (since version 3.2) WordPress 301 redirect enabled....

Leave a Comment