frankp
New Member
I wanted to get rid of the www on my site as per no-www.org so I implemented the code in the htaccess file as they advocate...
I can't show an example right now as I removed the edit to my htaccess file!
Any ideas? Thanks for any help!
However I ran into a problem - if someone tries to go to www.domain.com/somepage.htm for example they get sent to domain.com rather than domain.com/somepage.htmRewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
I can't show an example right now as I removed the edit to my htaccess file!
Any ideas? Thanks for any help!