The website design of surprise surprise to deal with the new strategy of Baidu

Source: Internet
Author: User
Tags php code

Recently, Baidu's strategy update, let the Internet on a "focus on the content of the construction" of the voice, Webmasters began to discuss how to build a good site, how the site design to feed the spider's appetite? Small series is also studying how to surprise the website design, in order to cater to the new Baidu strategy, Here to share their thoughts with you.

First: Friendly navigation settings. Site in the construction of not only to think of the home page design, but also to take into account the design of the interior pages and spiders crawl situation, many sites in the design of the homepage only to place content, the other did not link into the page, spiders to crawl the site after the content of the first page, only the choice to jump out of the site, such a Web site design can only be included in the Spider homepage a page , other pages are not included. For the site page included, so the inside page of the site do not stay away from the first 5 clicks outside, this requires the site to set up friendly navigation. The top section of the site navigation, home page Call the "more" link inside the pager, the inside page of the breadcrumbs Navigation: Home-Column page-content page. At the same time, there are several taboos in the design of navigation: Do not use the picture navigation, do not use JS jump navigation, try to use a simple article anchor text navigation, friendly navigation design, spiders to crawl the resistance is the smallest, the user experience is also the best.

Second: The friendly page structure design. Many product sites in order to achieve the user's visual effects, will use a lot of JS code, pictures, Flash animation, and so on, the code for spiders are not read, the design of the site not only to take into account the effect of better consideration in the search engine survival. Use Baidu to launch the page optimization suggestions tool owners can find, Baidu to the site's code simplification requirements are high, the site in the use of JS code, must be put to the end of the code, reduce the spider's request time, at the same time, the site's CSS style sheet to be merged, reduce unnecessary code, The web site as far as possible not to use the FRAM frame structure, spiders difficult to identify the frame and flash code. For the site's advertising section and unnecessary transfer weight of the plate, webmaster can use IFRAME and nofollow tag, avoid unnecessary weight loss.

Third: Friendly website jump code. For search engine spiders, the only recognition will not be as cheating jump is 301 jump, 301 jump can completely transfer weight to the new website. Web site to jump the way there are: 302 Jump, JS jump, Meta refresh jump, but these jump methods will be spiders think is cheating, we do jump is to transfer weight, so there is no need to choose other than 301 jump mode. ASP code to do 301 jumps for Windows host: <%@ language=vbscript%> <% response.status= "Moved Permanently" Response.AddHeader "Location", "Domain Name" >. PHP Code:

Four: Friendly page static settings. Baidu's new strategy on the site's high-quality content requirements are high, webmasters are also trying to create more sites included, static page settings may make the site better included. Dynamic address will give spiders crawl content caused inconvenience, it is easy to crawl when the spider into the dead cycle, or will often include some repeated pages, to the website page can be fully included, the site design needs to convert dynamic URLs to static URLs. May be a lot of webmasters will say that dynamic page can also be included, spiders to crawl the site, is able to identify dynamic address, but will be included in the spider to create difficulties, even if there is a good way to reduce the spider crawl trouble, the webmaster are not to do it. For the site will be included in the content of the situation, the webmaster can be in the robots.txt file to add: disallow:/*?* code, the Web site to prohibit the duplication of content to be included, this is also a period of time to recover, the webmaster to join do not worry, patience and so on after the database cache, Will not repeat the collection.

Webmaster are hard to operate the site, if it is because of these details of the site is punished, it is not want to cry no tears, then why not in the design of the surprise. No matter how Baidu update strategy, as long as the webmaster can be done in detail, or the sentence to focus on the content of construction, improve the user experience, natural site survival time is long.

Original source of this article: Http://www.hlqxc.org starting A5, reproduced please indicate the source.



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.