The following works for me
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://www.domain.com.au$1 [R=301,L]
Cheers,
Igor
On Thu, Apr 23, 2009 at 8:07 AM, André Warnier wrote:
> John Oliver wrote:
>
>> A site has the following rules:
>>
>> RewriteEngine on
>> RewriteBase /
>> Rewrite
John Oliver wrote:
A site has the following rules:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I've been asked to ensure that www.domain.com goes to https://domain.com
so I tried:
RewriteEngine
A site has the following rules:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I've been asked to ensure that www.domain.com goes to https://domain.com
so I tried:
RewriteEngine on
RewriteBase /
Rew