Title: [Plugin: WordPress HTTPS (SSL)] Redirect loop and unabling to uninstall the plugin
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] Redirect loop and unabling to uninstall the plugin

 *  Resolved [Paskal_07](https://wordpress.org/support/users/paskal_07/)
 * (@paskal_07)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-redirect-loop-and-unabling-to-uninstall-the-plugin/)
 * 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() ) { $this->redirect(‘https’); } }
 * 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](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-redirect-loop-and-unabling-to-uninstall-the-plugin/paskal-07@ya.ru?output_format=md)
   and nginx https recognition will be fixed, till then – better use nginx configuration
   tricks.
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

The topic ‘[Plugin: WordPress HTTPS (SSL)] Redirect loop and unabling to uninstall
the plugin’ 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/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [redirect loop](https://wordpress.org/support/topic-tag/redirect-loop/)

 * 0 replies
 * 1 participant
 * Last reply from: [Paskal_07](https://wordpress.org/support/users/paskal_07/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-redirect-loop-and-unabling-to-uninstall-the-plugin/)
 * Status: resolved