https://www to https:// Problem
- SEO |
# Redirect all requests to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://whatevercoolsite.com/$1 [R=301,L]
</IfModule>
# End redirect all requests to https
# Begin redirect from www. to normal domain
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.whatevercoolsite\.com$
RewriteRule ^(.*)$ https://whatevercoolsite.com/$1 [R=301,L]
</IfModule>
# End redirect from www. to normal domain
Forum Management & Promotion, SEO Tips, Money Making tips etc.