Thread
:
ModRewrite: How to redirect [domain].com to www.[domain].com
View Single Post
#
2
(
permalink
)
02-10-2005, 11:20 PM
Deep13
WebProWorld Veteran
Join Date: Dec 2003
Location: India
Posts: 306
try this and see
RewriteEngine On
RewriteCond %{HTTP_HOST} !
www.domain.com
RewriteRule ^.*$ http://%{SERVER_NAME}%{REQUEST_URI} [
R=301,L
]
you can also check your headers
here
Regards
Deep
__________________
Deep Ganatra
Gifts to India
-
Cisco Certification Training
-
CSS Based Website Design
Deep13
View Public Profile
Send a private message to Deep13
Visit Deep13's homepage!
Find all posts by Deep13