free classified ads and leads
domain website price


Force SSL on all pages using htaccess

PHP

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 http://example.com and https://example.com .

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




Gallery

Comments



Submit Reviews:


(Enter the characters seen on the image below.)



Promotional Ads

Advertisement

Packers and Movers in Chandigarh
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Kurukshetra

Packers and Movers in Chandigarh
Plot No-123 Sunrise Colony Godown Area Pabhat Zirakpur-140603
Plot No-123 Sunrise Colony Godown Area Pabhat Zirakpur-140603
Jind

Packers and Movers In Satna - VP Max
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Shahdol

Packers and Movers in Sagar
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Sagar

Movers and Packers Zirakpur
zirakpur
Zirakpur

ShreeJi Packers and Movers Chandigarh
Booth No. 6, Plot No. 2212 Pipli Wala Town, Manimarjra, Chandigarh
Chandigarh