-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Google says Chrome is about to get a lot more secure with default HTTPS, download warnings
By hellowalkman,
- 4 replies
- 2 views
-
- 1 reply
- 4 views
-
Google Cloud blocks largest DDoS attack ever, beating Cloudflare's previous record with ease
By Usama Jawad96,
- google cloud
- (and 14 more)
- 4 replies
- 3 views
-
Microsoft is finally offering Windows Update Catalog over an HTTPS connection
By hellowalkman,
- microsoft update catalog
- https
- (and 4 more)
- 15 replies
- 3 views
-
Facebook will now redirect you if you search for extremist content in Pakistan or UK
By Usama Jawad96,
- 23 replies
- 11 views
-
Question
slax
Hi
I want to redirect my primary domain to https (http://www.website.com to https://www.website.com) and exclude all sub domains. (http://xyz.website.com to remain as http://xyz.website.com)
I have been on google for too long and couldnt find the right solution, please help
My .htaccess file
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts