Someone was kind enough to give me the code to redirect my http: site to a https: secure site which is: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.* [nocase]
How to Redirect http: to https: secure site
6
Someone was kind enough to give me the code to redirect my http: site to a https: secure site which is:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.* [nocase]
RewriteRule ^(.*) hxxp://employeelocator.com/$1 [last,redirect=301]
But I think this causes a conflict with an existing .htaccess file that handles a 301 redirect for canonical error purposes.
Can anyone enlighten me as to how to do both please?
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.* [nocase]
RewriteRule ^(.*) hxxp://employeelocator.com/$1 [last,redirect=301]
But I think this causes a conflict with an existing .htaccess file that handles a 301 redirect for canonical error purposes.
Can anyone enlighten me as to how to do both please?
- Lynker
- [2] replies
- paulgl
- [1] reply
- CKTaylor7
- patco
Next Topics on Trending Feed
-
6