Need help in redirection

Status
Not open for further replies.

fabxhost

Active Member
90
2015
10
20
Need Http to https redirection
and domain is with ssl validated: example.com
ssl wont work with www

Please help me with htaccess Rewrite rule
must include redirection for all paths and folders
 
Last edited:
3 comments
didnt worked

i am using
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.fabxhost\.com [NC]
RewriteRule ^(.*)$ https://fabxhost.com/$1 [L,R=301]

its redirecting http://www to https:// perfectly
but i want http:// to https:// .... for non-www this also
 
Status
Not open for further replies.
Back
Top