Hi, I had a canonical issue and decided to keep the http://website.com version rather than the http://www.website.com version and was wondering is it possible to have a rewrite rule that will just drop the www off a url i.e. http://www.website.com/data/new and redirect it to http://website.com/data/new rather than just redirect it to http://website.com Any help appreciated
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L] Code (markup):