Title: Non-HTTPS redirects to homepage
Last modified: April 7, 2017

---

# Non-HTTPS redirects to homepage

 *  Resolved [newvisionmedia](https://wordpress.org/support/users/newvisionmedia/)
 * (@newvisionmedia)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/)
 * We have Really Simple SSL installed and working well. The issue we have is that
   there are URLs across the internet linking to the website using the non-secure
   HTTP form. Clicking on these links redirects back to the homepage instead of 
   the secure page.
 * Here is an example:
    [http://www.autohausvw.co.uk/gallery/](http://www.autohausvw.co.uk/gallery/)
 * It should link to the page [https://www.autohausvw.co.uk/gallery/](https://www.autohausvw.co.uk/gallery/)
   but instead redirects to the homepage.
 * Do you have any advice on this please?
 * Many thanks,
    Jamie

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

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9005235)
 * 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](https://wordpress.org/support/users/newvisionmedia/)
 * (@newvisionmedia)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9005766)
 * 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](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9005992)
 * 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://%](https://%){HTTP_HOST}%{REQUEST_URI} [R=301,L]
 * which means as much that requests are redirected to [https://yoursite/request_uri](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](https://wordpress.org/support/users/newvisionmedia/)
 * (@newvisionmedia)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9006191)
 * 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](https://wordpress.org/support/users/newvisionmedia/)
 * (@newvisionmedia)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9006255)
 * 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](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9006349)
 * 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.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 6 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/non-https-redirects-to-homepage/#post-9006349)
 * Status: resolved