Hi.. I've two versions of my website..i.e It open with www & without www similarly. I want to keep only one version. How Is It possible?
Add this to your htaccess. It will redirect non www to www: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] Code (markup):
great suggestion mate , after doing this how to check that task is done successfully or not ? hope to have a good suggestion ..
just browse to the non www version and note that it automatically adds www. This is seo 101. Its not that vexing. N.
great mate - can we use this wordpress sites ? and is it benificial with wordpress sites especially SEO in point of view ?
If Wordpress is anything like Joomla, you probably have more variations of your content than that. Check to see if there is a WP plugin for canonical urls. That will take care of all of the duplicate content, not just the www issue. This article will better explain what I mean. https://support.google.com/webmasters/answer/139066?hl=en