Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi Jamie,

    Really Simple SSL always redirects to the exact same URL in https:// form, so it is likely that something else is causing this. It could be another redirect plugin, or for example a custom .htaccess rule. What you can try do is check if there are any conflicting plugins (or htaccess rules) which are causing the issue. A way to possibly avoid this is to enable the .htaccess redirect in Really Simple SSL. Since .htaccess redirects are done before the WordPress redirects this might solve your issue.

    Good luck and let me know if you have any other questions!

    Rogier

    Thread Starter newvisionmedia

    (@newvisionmedia)

    In the Really Simple SSL settings we have Auto replace mixed content and Enable 301 .htaccess redirect enabled, is this correct?

    We also have this code added to our htaccess file:

    # BEGIN rlrssslReallySimpleSSL rsssl_version[2.3.10]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL

    Could this be the problem?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    This part of the .htaccess is looking fine. You can see that Really Simple SSL doesn’t redirect to the homepage because of the following code:

    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    which means as much that requests are redirected to https://yoursite/request_uri, therefore the issue must be somewhere else. Is that all the code in the .htaccess or is there more? And did you check for possible conflicting plugins like custom login? Try to disable these non-critical plugins one by one until you find one that causes the issue. Please let me know if you need any further assistance.

    Thread Starter newvisionmedia

    (@newvisionmedia)

    Thanks Rogier,

    We stripped the .htaccess file back to basics and deactivated our redirection plugin. Sadly the issue still exists.

    Could there be another plugin that is causing the conflict?
    If necessary we can turn them all off and reactivate. This will have to be a job for nighttime as the website is busy during the week and weekends.

    Thanks

    Thread Starter newvisionmedia

    (@newvisionmedia)

    Hi Rogier,

    Just found the issue, silly me had the code copied into the wrong section. All is working now thanks for your help!

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi Jamie,

    good to hear you have solved the issue! Glad I could help.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Non-HTTPS redirects to homepage’ is closed to new replies.