buy cheap web hosting

Force SSL on all pages using htaccess


How to force SSL on all pages using htaccess ?

Mostly as per SEO no duplicate page URL will present into any website. Google will treat two different URL if they use and .

You can easily force the website pages to use the SSL https:// by adding below code under .htaccess file

RewriteEngine On
RewriteBase /

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Get digital SSL Certificates in only INR 1500 click here for more details now .

Bookmark and Share



Submit Reviews:

(Enter the characters seen on the image below.)

Promotional Ads


Packers and Movers in Chandigarh - Care Home
Shop No. 2241/15, 1st Floor, Mari Wala Town, Manimajra

Mohinder GST TDS TAN Consultant Panchkula
12 Maheshpur Sector 21 Panchkula