Auto Remove www from url using htacccess

/Auto Remove www from url using htacccess

Auto Remove www from url using htacccess

To remove www from your url and make it SEO friendly  you need to add the following code to .htaccess file in your root.

RewriteCond %{HTTP_HOST} ^www.sio-india.org$ [NC]
RewriteRule ^(.*)$ http://sio-india.org/$1 [R=301,L]
By |2010-06-19T07:03:18+00:00June 19th, 2010|htaccess, SEO|Comments Off on Auto Remove www from url using htacccess