Understanding and Resolving Multiple Redirects with Really Simple SSL
Content
If you've recently moved your WordPress site to HTTPS using the Really Simple SSL plugin, you might have encountered warnings about "multiple redirects" or "avoiding landing page redirects" in tools like GTmetrix or Pingdom. This is a common point of confusion, and this guide will explain why it happens and what your options are.
Why Am I Seeing Multiple Redirects?
The most frequent scenario reported by users is a chain of two redirects. For example:
http://www.example.com→ (redirects to)https://www.example.com→ (redirects to)https://example.com
This behavior often stems from having two separate configurations:
- SSL Redirection: The Really Simple SSL plugin (or your server) handles the redirect from HTTP to HTTPS.
- WWW/Non-WWW Redirection: Your WordPress address setting (in Settings > General) or a separate server rule handles the redirect between the www and non-www version of your domain.
When these two forces work independently, they can create a two-step process instead of a single, direct redirect.
Is This a Problem?
From a security and best practices perspective, this two-step redirect is often not a bug. As noted in several support threads, the Really Simple SSL team advocates for this method. It ensures that the HSTS header is properly set on all domain variations, which helps prevent "man-in-the-middle" attacks. Performance tools may flag it, but the actual impact on load time for a user is typically minimal (milliseconds).
Common Solutions and Configuration Tips
If you still wish to consolidate the redirects for performance or other reasons, here are the most effective approaches based on community reports.
1. Use Only One Redirect Method
A common mistake is enabling multiple redirection methods simultaneously within the plugin, which can cause conflicts or unexpected behavior.
- Best Practice: In the Really Simple SSL settings, enable only one primary redirect method. The "Enable 301 .htaccess redirect" is generally recommended as the fastest option.
- What to disable: If you enable the .htaccess redirect, you should disable "Enable WordPress 301 redirection to SSL" and "Enable Javascript redirection to SSL" to prevent double redirects.
2. Configure a Direct .htaccess Rule
To force a direct redirect from http://www to https://non-www (or vice versa) in a single step, you can add a custom rule to your .htaccess file, above the WordPress rules.
Example: Redirect ALL traffic to HTTPS and non-WWW
# BEGIN Custom Redirects
<IfModule mod_rewrite.c>
RewriteEngine On
# Force HTTPS and remove WWW
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule (.*) https://example.com/$1 [R=301,L]
</IfModule>
# END Custom Redirects
# BEGIN WordPress
...
Important: Always back up your .htaccess file before editing it. Replace example.com with your actual domain. This approach consolidates the two redirects into one but deviates from the security best practice recommended by the plugin's developers.
3. Check for Conflicting Configurations
Your redirect chain might be influenced by settings outside of WordPress. Before making changes, investigate:
- Cloudflare: Check your Page Rules and SSL/TLS settings for rules that might be causing a separate redirect.
- Your Hosting Provider: Some hosts have their own forced SSL or domain redirect settings that can interfere.
- Caching Plugins: Clear your cache completely after changing any redirect settings, as old redirects can be stored.
Conclusion
Seeing multiple redirects after installing Really Simple SSL is a frequent occurrence. In most cases, it's the intended, secure method of handling the transition to HTTPS. For the vast majority of sites, the performance impact is negligible and the security benefit is worth the extra step.
However, if you need to optimize for a single redirect, the solution typically involves standardizing your domain preference (www or non-www) in WordPress, using only one redirect method within the plugin, and potentially adding a consolidated rule to your .htaccess file. Always test changes thoroughly with a tool like Redirect Checker.
Related Support Threads Support
-
Blog Directory Redirects to Root Directoryhttps://wordpress.org/support/topic/blog-directory-redirects-to-root-directory/
-
Removing “www” from existing URLhttps://wordpress.org/support/topic/removing-www-from-existing-url/
-
Very slow with wordpress native redirectionhttps://wordpress.org/support/topic/very-slow-with-wordpress-native-redirection/
-
Avoid landing page redirectshttps://wordpress.org/support/topic/avoid-landing-page-redirects-6/
-
301 redirecthttps://wordpress.org/support/topic/301-redirect-31/
-
301 Moved Permananetly on Social Shareshttps://wordpress.org/support/topic/301-moved-permananetly-on-social-shares/
-
Should I manually change links to https:https://wordpress.org/support/topic/should-i-manually-change-links-to-https/
-
Avoid multiple page redirectshttps://wordpress.org/support/topic/avoid-multiple-page-redirects-4/
-
Enable 301 .htaccess redirecthttps://wordpress.org/support/topic/enable-301-htaccess-redirect/
-
How to avoid multiple redirects?https://wordpress.org/support/topic/how-to-avoid-multiple-redirects/
-
Double redirection on my website…https://wordpress.org/support/topic/double-redirection-on-my-website/
-
To many redirects? www.domain -> https://www.domain ->https://domainhttps://wordpress.org/support/topic/to-many-redirects-www-domain-https-www-domain-https-domain/
-
How do I remove the extra redirect?https://wordpress.org/support/topic/how-do-i-remove-the-extra-redirect/
-
EasyWP SSL Queryhttps://wordpress.org/support/topic/easywp-ssl-query/
-
Strange Issue With Redirects (http->https) on non-homepage pageshttps://wordpress.org/support/topic/strange-issue-with-redirects-http-https-on-non-homepage-pages/
-
two 301 redirects to reach correct pathhttps://wordpress.org/support/topic/two-301-redirects-to-reach-correct-path/
-
Website slow after recent updates to RS SSLhttps://wordpress.org/support/topic/website-slow-after-recent-updates-to-rs-ssl/
-
Multiple redirects in Broken Link Checkerhttps://wordpress.org/support/topic/multiple-redirects-in-broken-link-checker/
-
Direct Links Broken After Switching To htaccess Redirecthttps://wordpress.org/support/topic/direct-links-broken-after-switching-to-htaccess-redirect/
-
3 redirect 301https://wordpress.org/support/topic/3-redirect-301/
-
WordPress vs .htaccess redirectionhttps://wordpress.org/support/topic/wordpress-vs-htaccess-redirection/
-
why my site not redirecting www to non www?https://wordpress.org/support/topic/why-my-site-not-redirecting-www-to-non-www/
-
Blog page: “Too many redirects”https://wordpress.org/support/topic/blog-page-too-many-redirects/
-
Website significantly slower when using wwwhttps://wordpress.org/support/topic/website-significantly-slower-when-using-www/
-
Avoid landing page redirects for the following chain of redirected URLs.https://wordpress.org/support/topic/avoid-landing-page-redirects-for-the-following-chain-of-redirected-urls/
-
301 Moved Permanently on Social Shares When 301 Redirect Is Activehttps://wordpress.org/support/topic/301-moved-permanently-on-social-shares-when-301-redirect-is-active/
-
Multiple 301 redirects on the same pagehttps://wordpress.org/support/topic/multiple-301-redirects-on-the-same-page/
-
Redirects are slowing sitehttps://wordpress.org/support/topic/redirects-are-slowing-site/
-
Troubleshooting redirect loop errorshttps://wordpress.org/support/topic/troubleshooting-redirect-loop-errors/
-
redirect from http to httpshttps://wordpress.org/support/topic/redirect-from-http-to-https-4/
-
Slow, not greeen and whats options I need?https://wordpress.org/support/topic/slow-not-greeen-and-whats-options-i-need/
-
Problems iwth Really Simple SSL Cloudflare redirectionshttps://wordpress.org/support/topic/problems-iwth-really-simple-ssl-cloudflare-redirections/
-
two 301 Redirects instead of 1!https://wordpress.org/support/topic/two-301-redirects-instead-of-1/
-
Confused with 3 redirection methodshttps://wordpress.org/support/topic/confused-with-3-redirection-methods/
-
Your double redirect instructionshttps://wordpress.org/support/topic/your-double-redirect-instructions/
-
Double redirect from https://wwwhttps://wordpress.org/support/topic/double-redirect-from-https-www/
-
HTTP Strict Transport & Malicious 307 redirectshttps://wordpress.org/support/topic/http-strict-transport-malicious-307-redirects/
-
/cart 301 redirects to the same page causes long loading timeshttps://wordpress.org/support/topic/cart-301-redirects-to-the-same-page-causes-long-loading-times/
-
gtmetrix, serve resources from a consistent urlhttps://wordpress.org/support/topic/gtmetrix-serve-resources-from-a-consistent-url-2/
-
why two redirects?https://wordpress.org/support/topic/why-two-redirects/
-
httpdocs 301 SSL redirects are dropping pages from search engine.https://wordpress.org/support/topic/httpdocs-301-ssl-redirects-are-dropping-pages-from-search-engine/