How to use the sitemap file in XML format to do SEO

Source: Internet
Author: User
Tags file size root directory

The general website has the website map file, it has the HTML format and the XML format, the website map may help the search engine crawl, helps the user to find the content which oneself needs, it is the website and the user, the website and the search engine bridge, especially the XML format map file, The search engine's crawl still has the very big help. Below we'll talk about XML map files.

 1, the XML map file must be placed under the root directory of the site

In Google's website quality guide and Baidu SEO official guide, also mentioned this point, you must put the XML format map files in the root of the site below, we make a good map file, with an FTP account to upload the XML map file to the root of the site below.

 2, the location of the XML map file can appear in the robots file

XML sitemap file location can be specified in the robot file, search engine crawling a site, it first crawling is a robot file to get their own crawl permissions, if you put the sitemap file in the robots file, Then the search engine will be able to crawl to your sitemap file, you can quickly index the page URL, which is included in the site will be a great help. This is particularly useful for Google, but Baidu is not so sensitive.

 3, the size of the sitemap file is limited

In Google's website Quality guide, it is clear that the sitemap file size before compression, can not exceed 30M, and each sitemap file in the number of URLs not more than 50,000, when your sitemap file is very large, can be decomposed into multiple files. Baidu's Optimization guide, there are similar provisions.

 4, in the form of XML sitemap file can set the priority of the page

In a sitemap file in XML format, there is a priority attribute, we can according to the page in our site to set priorities, some of the more important pages can be optimized to set a higher level, the search engine in the crawl XML URL, is also according to the priority to crawl, We have to do is to try to put the important file priority set higher, to assist search engine fast crawl more seo meaning of the page.

 5, pictures, video URL page can be made in XML format sitemap files

In fact, sitemap file is not a text page patent, for some picture url, video URL, can make sitemap file, thereby promoting search engine crawl, included. And the effect is often good, when our site appeared a lot of video files, pictures, we can make the URL of these pages, submitted to the search engine.

 6, can be submitted to the search engine XML format sitemap files

We can submit sitemap files directly to the search engine, can be conducive to its webmaster platform to submit, such as Google Webmaster tools, Baidu Webmaster platform, can be directly submitted, the effect of the crawl after the submission is also very obvious, but also in the search engine public access to submit sitemap files, Most people submit the first page, in fact, can also directly submit sitemap file. The above content by Chinese beauty talent net www.mrrencai.com in Admin5, reprint please keep the URL, 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.