WordPress HTTPS (SSL)
[resolved] Redirect loop and unabling to uninstall the plugin (1 post)

  1. Paskal_07
    Posted 4 years ago #

    I've got a lot of headache when I installed WordPress-HTTPS on my blog. It's running on nginx and ony thing I've got is redirect loop.
    Another funny problem is loop not gone after deinstallation of the plugin.

    So, there is the fix.

    Find WordPressHTTPS.php (located in /wp-content/plugins/wordpress-https/lib in plugin version 3.0) and remove following code:

    // Redirect login page. This is not pluggable due to the redirect methods used in wp-login.php
    if ( ( $GLOBALS['pagenow'] == 'wp-login.php' ) ) {
    setcookie(constant('TEST_COOKIE'), 'WP Cookie check', 0);
    if ( $this->getSetting('ssl_admin') && ! $this->isSsl() ) {

    and replace anything after that string:

    public function redirect( $scheme = 'https' ) {

    with following:


    That should disarm the plugin and it will not harm anybody anymore.
    I hope plugin author will contact me on jabber paskal-07@ya.ru and nginx https recognition will be fixed, till then - better use nginx configuration tricks.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic