June 16, 2005 at 1:56 pm
#667183
Inactive
Hi,
one quick question. Currently trying to install the code, but having some problems. Which parts of the code need to be edited?
RewriteEngine on
RewriteCond %{HTTP_HOST} !^http://www.domain.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://www.domain.com/$1 [R=301,L]
Only the domain name, or also anything else? Can I place this code anywhere in the .htaccess file, or does it have to be in a specific spot?
I’m still very new to this stuff!
Thanks for your help,
burgi