SEO Practical experience sharing <base href> label

Source: Internet
Author: User
Tags html tags domain domain name

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!



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.