In the SEO forum more, often see similar "site with www down right" such a problem, I did not pay attention to the beginning, until their own site also occurs after this situation, just start to find solutions. So, 301 redirects have been done, webmaster platform redirection also set up, the main domain name all used the absolute path, to the end of the analysis without the WWW also disconnected, but Baidu is still crawling without the domain name of the WWW, Baidu's preferred domain choice, I really do not have anything to do? Fortunately, When I look back on what I've learned in my previous website, I suddenly think of HTML tags, which may be decisive for the choice of Baidu's preferred domain.
The tutorial on the HTML base tag is described below, and its href attribute is defined and used as: The href attribute defines the base URL for all relative links in the page.
We casually open a Baidu snapshot, and then right click to view the source file, you can clearly see the corresponding relationship between the label and snapshot, which is very natural to understand the choice of Baidu site preferred domain. So we just set the code in the <base href= "http://www.xxxx.net/"/> can guide Baidu spiders crawl the correct domain name.
Real life, the details of the success or failure of the case has been numerous, do SEO is also so, do not think that their website in Baidu has enough weight can be arbitrarily modified, many times, often when the revision of some negligence, can lead to a sudden ranking fluctuations. Now Baidu in increasing efforts to rectify the SEO market, the site in the adjustment and content updates when the more attention to each detail. 2013 for SEO, will be an extraordinary year, perhaps we have to learn a lot of things. Hope that through this article, for everyone to have some inspiration, more can solve the site redirects some difficult problems. This article from the Ningbo Genesis Network http://www.7277.net/Original, starting A5, reprinted annotated source, thank you!