How to automatically submit a sitemap to Google?

How to automatically submit a sitemap to Google?

Submit your sitemap to Google automatically

Preface

This article teaches you how to automatically submit the site map of a website to Google

The prerequisite is that you already have a Search Console account and bind your website~

If you do not know what is Search Console please look at my previous article How to search on Google to my website ?? similar

Friends who haven't seen it can take a look first~

Special attention

  1. This article is based on children's shoes that can access Google. If you don’t know how to access it, please learn by yourself

  2. You need to have a Google account. If you don’t have any children’s shoes, please Google it yourself.

  3. Google’s collection speed is very fast

What is a site map?

A site map is a container for all links on a website. Many websites have a deep connection level and are difficult for crawlers to capture. Site maps can facilitate crawlers to crawl website pages. By crawling website pages, you can clearly understand the structure of the website. Sitemaps are generally stored in the root directory and named sitemap. Crawlers guide the way and increase the inclusion of important content pages on the website. A site map is a navigation web page file generated according to the structure, frame, and content of the website. Sitemaps are good for improving the user experience. They point the way for website visitors and help lost visitors find the page they want to see.

Sitemap is generally divided into two ways to record, xml format file or txt file, generally two files contain all the links of the website, which can be submitted to crawlers to crawl, allowing search engines to include them faster Website content

Sitemap example

sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      <loc>http://www.example.com/</loc>
      <lastmod>2005-01-01</lastmod>
      <changefreq>monthly</changefreq>
      <priority>0.8</priority>
   </url>
   <url>
      <loc>http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii</loc>
      <changefreq>weekly</changefreq>
   </url>
   <url>
      <loc>http://www.example.com/catalog?item=73&amp;desc=vacation_new_zealand</loc>
      <lastmod>2004-12-23</lastmod>
      <changefreq>weekly</changefreq>
   </url>
   <url>
      <loc>http://www.example.com/catalog?item=74&amp;desc=vacation_newfoundland</loc>
      <lastmod>2004-12-23T18:00:15+00:00</lastmod>
      <priority>0.3</priority>
   </url>
   <url>
      <loc>http://www.example.com/catalog?item=83&amp;desc=vacation_usa</loc>
      <lastmod>2004-11-23</lastmod>
   </url>
</urlset>

sitemap.txt

http://www.example.com/
http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii
http://www.example.com/catalog?item=73&amp;desc=vacation_new_zealand
http://www.example.com/catalog?item=74&amp;desc=vacation_newfoundland
http://www.example.com/catalog?item=83&amp;desc=vacation_usa

If you want to learn more about children's shoes in xml format sitemap syntax, please click here !

How to automatically submit to Google?

For the remaining content, please click here to continue watching~

Guess you like

Origin blog.csdn.net/weixin_39067447/article/details/111621181