Connecting Tech Pros Worldwide Help | Site Map

mod rewrite

sokoun's Avatar
Newbie
 
Join Date: Sep 2007
Location: Cambodia
Posts: 30
#1: Oct 9 '08
hi ,

I have a domain name example.com

I would like to redirect user to www.example.com when user type example.com using the .htaccess file.

thanks in advance.
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,565
#2: Oct 9 '08

re: mod rewrite


actually, I think you browser should add the www automatically if I am not mistaken. They are the same address IMO.

Regards,

Jeff
Reply