Title: Redirecting to https when I log out
Last modified: August 20, 2016

---

# Redirecting to https when I log out

 *  [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/)
 * I have “Force SSL Exclusively” switched on, yet after logging out and being redirected
   to the homepage I’m redirected to the https version of the homepage (which I 
   do not want). That page is not selected to be SSL.
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

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

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247612)
 * If you have Force SSL Exclusively on and you’re not securing the homepage, it
   should be impossible to hit it over HTTPS, regardless of how you got there. So
   either something isn’t working, there’s an issue with your server configuration,
   or your home page is secured for some reason.
 *  Thread Starter [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247660)
 * I’m using CloudFlare Flexible SSL if that makes any difference?
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247689)
 * Maybe. I’ve used it fine before.
 * You described a very particular scenario. Have you tried just enabling Force 
   SSL Exclusively and hitting any page that shouldn’t be secure? They should always
   redirect to HTTP.
 *  Thread Starter [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247690)
 * I just tried that, it seems the Force SSL is not working at all, pages are not
   redirecting to the non-SSL page.
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247691)
 * Then it’s likely the issue is CloudFlare. Enable Debug Mode and look for an entry
   in the debug output that says “SSL: Yes/No”. If you don’t know where to find 
   it, let me know.
 *  Thread Starter [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247692)
 * I’m trying to switch debug mode on but when I tick the box and press save there
   is an error:
 * POST [https://www.[](https://www.[)..].co.uk/wp-admin/admin.php?page=wordpress-
   https 500 (OK) load-scripts.php:4
    send load-scripts.php:4 f.extend.ajax load-
   scripts.php:4 b.fn.ajaxSubmit load-scripts.php:35 ajaxFormUnbind.bind.bind.i 
   load-scripts.php:35 f.event.dispatch load-scripts.php:3 h.handle.i
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247693)
 * Oh good. Looks like a 500 error. You’ll have to check your error logs for the
   error generated by that URL.
 *  Thread Starter [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247694)
 * No error logs are showing up for this error. Not sure how I can debug it now?
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247695)
 * That sounds like a parse error or a file permissions problem. Check the file 
   permissions for the plugin. Also, check to see what version of PHP you’re using.
 *  Thread Starter [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247700)
 * I have set everything in the plugin folder to CHMOD 755, no change
    I am running
   PHP version 5.3.5.
 * Interestingly I have made a complete copy of the site and deactivated all plugins
   except HTTPS and it works. I did a process of elimination to find out which plugin
   was causing problems and it is WooCommerce.
 * If WooCommerce is active, this problem happens. If I deactivate it the problem
   goes away.
 * Also, each time I activate or deactivate the WooCommerce plugin it asks me to
   log in again. Not sure why that is.
 * It is WooCommerce Version 1.6.5.2
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247703)
 * What works when it’s disabled? Force SSL Exclusively, saving the settings or 
   both?
 *  Thread Starter [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * (@rubious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247704)
 * Both.
 * I think the Force SSL Exclusively is only not working because I can’t change 
   the setting. Is there an entry in the database I can just change to get this 
   working?
 * But of course we really need to get the settings page changes working too.

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

The topic ‘Redirecting to https when I log out’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Shaun Robinson](https://wordpress.org/support/users/rubious/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/redirecting-to-https-when-i-log-out/#post-3247704)
 * Status: not resolved