Still Do I need to Put 301 Redirection Code in .htaccess File?

Discussion in 'LiteSpeed Cache Plugin For WordPress' started by K.H.Rifat, Mar 24, 2018.

  1. K.H.Rifat

    K.H.Rifat New Member


    I am new to the forum. I have no enough privileges to Post and Comment on other section, So I posted here, If this is wrong, MOD Please Consider this as a new member.

    I am using the latest LiteSpeed WP Plugin, I enabled this Option "Improve HTTP/HTTPS Compatibility". Still, do I need to put the following code to .htaccess file for 301 HTTP to HTTPS for Better SEO Result?
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # END SSL
    Is this code OK for LiteSpeed Server.

    Thanks in Advice.
  2. Tishu

    Tishu Well-Known Member

Share This Page