It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#2 (permalink) |
|
Member
|
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^\domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
__________________
Indiana Jones |
|
|
|
|
|
#5 (permalink) |
|
Member
Join Date: Jul 2007
Posts: 32
|
Using the mod_rewrite is so important. You might always link to your site the same way, but others may not. To keep all links pointing to the same site you need the rewrite. Without it, search engines will treat the www and non-www as two different addresses.
|
|
|
|