Http redirect to https with www use htaccess
-
I tried redirect it with this code in my htaccess:
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]But when I tried load my page:
http://goodlayers.tienloc.net/traveltour/tour/tour-custom-template/
goodlayers.tienloc.net/traveltour/tour/tour-custom-template/
Its not redirect/force to https, it just loaded to http with www. Please don’t recommended me to use plugin, I don’t want use plugin so I tried with htaccess.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Http redirect to https with www use htaccess’ is closed to new replies.