Forum | Really Simple SSL

Redirect Loop – Unsure What To Do

Home Forums Redirect loops Redirect Loop – Unsure What To Do

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #14087
    Matthew Newton


    First, nice plugin and congratulations on your success.

    Second, I’ll be using the premium plugin on approx 50 websites but am having difficulties setting it up on a staging site that we have.

    Here is the staging site –

    It has a redirect loop but the wp admin does not.

    I have deactivated and reactivated the plugin, and also have deactivated the plugin to try and get it back to its former state.

    This is the htaccessp. I removed the stuff that the plugin had added. WP Config follows.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    This is the WP Config:

    * The base configuration for WordPress
    * The wp-config.php creation script uses this file during the
    * installation. You don’t have to use the web site, you can
    * copy this file to “wp-config.php” and fill in the values.
    * This file contains the following configurations:
    * * MySQL settings
    * * Secret keys
    * * Database table prefix
    * * ABSPATH
    * @link
    * @package WordPress
    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘tourtige_zambezi’);
    /** MySQL database username */
    define(‘DB_USER’, ‘tourtige_zambota22’);
    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘WANGWANG77’);
    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);
    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);
    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);
    /**deactivate really simple SSL redirect */
    * Authentication Unique Keys and Salts.
    * Change these to different unique phrases!
    * You can generate these using the {@link secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    * @since 2.6.0
    define(‘AUTH_KEY’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
    define(‘NONCE_KEY’, ‘put your unique phrase here’);
    define(‘AUTH_SALT’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
    define(‘NONCE_SALT’, ‘put your unique phrase here’);
    * WordPress Database Table prefix.
    * You can have multiple installations in one database if you give each
    * a unique prefix. Only numbers, letters, and underscores please!
    $table_prefix = ‘wp_’;
    * For developers: WordPress debugging mode.
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    * For information on other constants that can be used for debugging,
    * visit the Codex.
    * @link
    define(‘WP_DEBUG’, false);
    /* That’s all, stop editing! Happy blogging. */
    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);



    Do you also have the redirect when the plugin is not activated?

    Matthew Newton


    So plugin is deactivated and I have now purged Varnish.

    Not sure why it continues with the redirect loop even after deactivation —



    I’d try deactivating all plugins to see if that helps. Especially multilanguage, caching, custom login form plugins etc can cause redirects of their own.

    Matthew Newton

    All plugins deactivated!


    So no plugins, no Really Simple SSL, no .htaccess or wpconfig code that could do this… and still a redirect. The certificate is ok, and the back-end is still reachable, which would seem to rule out a server side issue.

    Is it possible you are using a caching plugin that you didn’t clear before deactivating? This sometimes causes the cache to still be loaded, even when the caching plugin is deactivated.

    Matthew Newton

    Roger – issue resolved. It was an issue with the theme actually.



    Thanks for the update.


    Hi Matthew, can you please tell how you sort out the issue. I am facing similar issue, after setting up SSL certificate for my site. My home page and all other pages are working fine but my post/article pages are continuously reloading. I tried deactivating plugins, .htaccess and web.config etc but none is working. Please help me. Mentioning below example post URL for you to check:


    Hi Aang,

    I get a http error 500 on your site, not a redirect loop. This usually means there’s either a .htaccess or a php error on your site. To find where this issue is coming from, I would deactivate your plugins and or theme one by one until your site starts working again.

    Let me know if you have any questions.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Redirect Loop – Unsure What To Do’ is closed to new replies.