Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: WP in Subdirectory SSL problems

Discussion in 'Misc WordPress Requests' started by dineshkashera, Oct 23, 2017.

  1. dineshkashera

    Guest

    Reply To: WP in Subdirectory SSL problems, by dineshkashera

    Hello,
    To force change the url from http to https, please backup your .htaccess file from wordpress root. and create the new .htaccess file at the root and paste the below code in .htaccess file.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{ENV:HTTPS} !=on
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

    # BEGIN WordPress
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    To get more help please visit this link : https://designmodo.com/wordpress-https/

    Thanks

    Reply To: WP in Subdirectory SSL problems
     
    #1

Share This Page

Web Hosting