[thelist] Ajax redux - another problem this time with FireFox![solved]

David Kaufman david at gigawatt.com
Thu Mar 2 18:05:55 CST 2006

Hi Tom,

Tom Dell'Aringa <pixelmech at yahoo.com> wrote:
> My problem was I typed in crossandthrone.com instead of
> WWW.crossandthrone.com. IDEEIOT. I didn't notice it until I
> relaunched the browser. Isn't there a way to force your domain via
> .htaccess to jump to the www if this happens? 

This works for me:

  RewriteEngine On
  RewriteBase /
  RewriteCond %{HTTP_HOST} !^www.gigawatt.com$
  RewriteRule (.*) http://www.gigawatt.com/$1 [R,L]

To make sure URL's like this: 

Get redirected to:



More information about the thelist mailing list