Home> Topics> SEO> body text

What are the sitemap formats?

little bottle
Release: 2019-05-25 10:53:26
Original
2951 people have browsed it

The three formats of Sitemap are: text format, xml format, and HTML format. You can choose any format to organize the sitemap according to your own situation. The specific format description and examples are as follows:

What are the sitemap formats?

The complete single xml data format is as follows:

What are the sitemap formats?

The first position: XML file must be encoded in utf-8

The second position: Required tag, grammatical standard

The third position: URL link address, length must not be exceeded More than 256 bytes

The fourth position: Optional, specify the last update time of the link to tell the update frequency that this link may appear

The fifth position: Optional, URL link priority Ratio

txt text format

1. Create a new notepad file and name it sitemap.txt;

2. Open the Sitemap.txt file, Enter the URL of your website in it. The requirement is a complete URL per line (such as http://seo.aizhan.com/term/147.html), and it cannot contain any other characters except the URL;

3. The maximum number of URLs that can be added to each Sitemap.txt file is 50,000. If there are more than this number, you can open a new file;

4. Upload this notepad to the website through Root directory;

 5. Provide the address where the notepad exists to the search engine through the search engine submission portal.

Html web page format

Generally, some sitemap generation tools are used, or some CMS comes with its own functions. You can search on Baidu.

The above is the detailed content of What are the sitemap formats?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!