buy cheap web hosting

Redirect HTTP to HTTPS automatically On Linux and Window


To make the website secure use SSL . If you purchased the SSL certificate later then you face a issue about how you force all website traffic to use the SSL.

Solution is very simple using APACHE server. On cpanel and Linux server support .htaccess type file.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]

Make sure from the above code replace the to your own domain name.

In window and plesk server you have use the below code.

Bookmark and Share


Related Topics


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