Really Simple SSL

Recommended .htaccess redirect option

If you didn’t enable the .htaccess redirect in your site, you may see a new plus one, with a notice in your dashboard (since version 3.2):

“WordPress 301 redirect enabled. We recommend to enable the .htaccess redirect option on your specific setup.”

What is a 301 redirect?

After activating SSL, we want to redirect everyone who attempts to visit http URLs to https. A 301 redirect indicates that the page has been permanently moved to another URL, in this case, the http version. With Really Simple SSL, we distinguish two types of 301 redirects:

The WordPress 301 redirect

Really Simple SSL can issue a 301 redirect via PHP, which we call the ‘WordPress 301 redirect’. We enable this redirect by default, as it is unlikely to cause any conflicts once SSL is enabled. The downside of this PHP redirect is that it won’t work well on websites that use PHP caching.

The .htaccess 301 redirect

Because the WordPress 301 redirect is not always reliable, we recommend issuing the 301 redirect via your .htaccess file. Another benefit is that the .htaccess redirect is slightly faster than redirecting via PHP, because it is loaded even before the rest of the page. This is also a reason to be cautious: We recommend that you know how to edit your .htaccess manually, so you can remove the redirect if needed. The .htaccess 301 redirect can not be activated on sites that are hosted on NGINX servers. Really Simple SSL will warn you if your site is hosted on an NGINX server and provide you with an alternative method to activate the redirect and security headers.

You can enable the .htaccess redirect in settings/ssl/settings. Check the “.htaccess 301 redirect” option.

If you’re not comfortable with enabling this feature, you can dismiss the notice by clicking the “X”. No worries, the wp redirect works fine for the majority of the websites.

Rogier

Rogier

Related articles

6 Responses

    1. Hi,

      Possibly you have a jquery error from another plugin on this page, which blocks the dismiss. We will add an alternative dismiss option in the next update. You can also dismiss it in code, by adding
      update_option(‘rsssl_check_redirect_dismissed’,true);
      to your functions.php. This should dismiss it as well.

  1. Hello guys,
    I just bought the premium version, I hade the light version before.

    I must have read wrong, but I thought what was included the new law about warning about cookies, perhaps I misstook me completely.

    Best regards
    Monica

    First webbsite of 5 I bought licence for: https://www.centro-escandinavo.org/

    Best regards
    Monica

    1. Hi Monica,

      I guess you’re referring to https://complianz.io. This is our GDPR/CCPA plugin, but it’s a separate one. As Really Simple SSL pro customer I can get you a discount code. Just send me an email at support(at)really-simple-ssl.com.

Leave a Reply

Subscribe