Sorry to bother....
 
Got it if anyone else ever needs....
.htaccess
 
RewriteEngine On
RewriteCond %{HTTP_HOST} ^sitename\.com$
RewriteRule (.*) http://www.sitename/$1 [R=301,L]

________________________________

From: Dave Maharaj :: WidePixels.com [mailto:[email protected]] 
Sent: May-24-09 12:37 PM
To: [email protected]
Subject: add WWW to url


Not sure if this is so much cake or more an htacess issue but I ask just
incase some has knowledge of this.
 
How would I add the www. to the url so if user typed in http://sitename it
would automaticaly add the www to the address?
Thanks,
 
Dave 





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to