To a search engine, www. domain.com/, domain.com/, www. domain.com/index.html and domain.com/index.html are different urls and, therefore, different pages. Visitors arrive at the site's home page whichever of the urls are used, but search engines see them as individual urls, and it makes a difference when working out the PageRank. It is better to standardize the url you use for the site's home page. Otherwise each url can end up with a different PageRank, whereas all of it should have gone to just one url. According to google: "The preferred domain is the one that you would liked used to index your site's pages (sometimes this is referred to as the canonical domain). Links may point to your site using both the www and non-www versions of the URL (for instance, http:// www. example.com and http:// example.com). The preferred domain is the version that you want used for your site in the search results." Best option is to redirect the www domain to a non www domain (or to disable one), because there is always a problem of duplicate content for a search engine. For www redirects to a non www domain simply add this lines to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] Code (markup): For non www redirects to a www domain simply add this lines to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC] RewriteRule ^(.*) http://www.%1/$1 [R=301,NE,L] Code (markup): As a conclusion, when you promote a link focus on one of them only!
it doesn't quite matters, check to see if www. your domain redirects visitors to your http:// domain It's better to use only one of them.
Whenever I get a new client I first see which version of website is indexed on google. If www version of the website is indexed, then I redirect non-www version to www version.
It really doesn't matter. All that matters is that you stick to one choice. I think domain indexed in the search engines without www look nicer.
If you make variation of these then your links would look more natural so you should consider all possible combinations..
The www is useful for branding purposes. For some reason, people love a website that actually includes the www within it, instead of just a simple http://
But i used http://www.domainname.com it redirect to my site and www.domainname.com also redirect my site,so which can i used.
http is just a protocol.. It will be automatically redirected to www. You put it or not, doesn't matter.
Yeah, this is a very good point. Back when I was teaching small SEO tricks to people who had almost zero knowledge, I forgot this main point, the fact that you should only ever focus on one of those two links. Needless to say, it caused some disruption.