|
|
 |
Re: FN-FORUM: htaccess rewrite
date posted 12th March 2008 20:09
maybe because your saying if its not like this www.domain.com send this
http://www.domain.com so https://www.domain.com doesnt == www.domain.com
so its redirecting to http?
Chris
Lee Rickler wrote:
>
> I am using this in the root level htaccess file to force users onto
> www.domain.com
>
> RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
> RewriteRule ^(.*)$ http://www.domain.com/$1 [R,L]
>
> Trouble is I am using it with an SSL cert and https:// is being
> diverted to http://
>
> Is there another rule that would be something like -
>
> do the above unless it's a https:// URL?
>
> Thanks,
>
> Lee Rickler
> Director - Point and Stare - pointandstare.com
> Web Design and Development for over 11 years
>
|
 |
|