2. Website structure optimization

URL address optimization: (see note 5 for details)
1) The URL is relatively simple;
2) The website uses one address from the beginning to the end, and the 301 redirect technology can be used;
3) The URL case is uniform;
4) The URL is as static as possible. The shorter the better, the pseudo-static technology can be used;
5) English or Pinyin is best for the
URL ; 6) It is best not to exceed 3-5 keywords in the URL, too many will reduce the weight;
Directory structure:
1) It is best to use one From level to level two, do not exceed level three;
2) Try to use the directory organization method: home page-column page-content page;
3) directory name in English or Pinyin;
4) avoid multiple nested subdirectories;
robots.txt:
1 ) Is a text file stored in the root directory, telling the crawler which content can be indexed;
2) You can put the content that you don’t want the crawler to index into this file;
Sitemaps: (see note 4 for details)
1) Tell the crawler which web pages can be crawled taken;
2) is typically xml file format;
3) each URL entry contains a parent tag, a child entry;
4) should start with the URL http, less than 2048 characters;
5) by the respective owners internet Submit, the page can put the address in the robots.txt file;
add http://www.yours.com/sitemap.xml to the last line of robots.txt ;
website navigation:
1) It is convenient for users to return to the homepage or the upper level Structure page, home page-"column -" specific article title;
2) Breadcrumb navigation: path type, location type, attribute type, generally controlled in the third layer, do not exceed the fourth layer;
3) breadcrumb navigation try to use text, do not use pictures, js;
4) breadcrumb navigation try to appear keywords , Replace the homepage with the name of the website;
the use of Nofollow:
1) When the nofollow tag appears in the hyperlink, the search engine does not consider the weight of the link, nor does it need to be ranked
;
2) Write it on the meta tag and tell Crawlers should not crawl external and internal links on the webpage;
<meta name="robots" content="nofollow" />
3) Write in the hyperlink a tag to tell the crawler not to crawl specific links;

4) Spam websites on the website chain will reduce the authority, and use the nofollow tag for third-party links that can be used;
5) The nofollow tag should be added to the website copyright, filing, and off-site links;
404 page:
1) The user visits the page without displaying the 404 page ;
2) Provide links to the homepage or popular pages on the 404 page;
3) Do not use redirects to redirect the 404 page to the homepage, the user experience is extremely poor;
4) Some pages that cannot be opened have a return code other than 404, which is required Set the status code to 404;
5) Return to other pages within 5 seconds after entering the 404 page, do not return to other pages immediately;
the use of statistical codes:
1) Put it at the bottom of the website to analyze users and page conditions;
Experience:
1) Website Use up to three screens;
2) css/js set cache time;
<LINK rel=stylesheet type=text/css href="http://ssffx.com/Song-Index.css?
ver=20141015>
3) add breadcrumbs navigation;

Guess you like

Origin blog.csdn.net/qq_36129701/article/details/104653222