How to submit a sitemap for WordPress website Google (complete guide)

Adding a sitemap through Google Search Console helps Google quickly understand your site's structure and monitor the health of your site.
After logging in to Google Search Console, click "Site Map", in the "Add new sitemap" enter sitemap address (eg:sitemap_index.xml), click "Submit" to finish.

To submit a sitemap, you must firstVerify Website Ownership. If Google cannot verify that you are the owner of the site, it will not accept any site data you submit. Below is the complete procedure, including the method of verifying the ownership of the site, as well as the generation and submission of sitemap.

How to submit a sitemap for WordPress website Google (complete guide)

What is a sitemap?

A sitemap is an XML file.Lists all the important pages of the siteThe sitemap of a WordPress website usually includeswritings,web page,categorized directory,tab (of a window) (computing)etc.

Step 1: Generate WordPress sitemap

utilization Yoast SEO plug-in (software component)

  1. Install and enable the Yoast SEO plugin
  2. Backstage Access:Yoast SEO > Settings > Site Features
  3. locate XML Site Map option and turn on the
Image [2] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)
  1. Click to view XML site map
  2. The general default address is:https://你的域名/sitemap_index.xml

Using the All in One SEO Plugin

  1. Install and Enable All in One SEO Plugin
  2. Backstage Access:All in One SEO > Site Map
  3. Enable the site map, the site map is automatically generated by default, view and copy the address of the site map can be
Image [3] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)

Step 2: Verify the website owned by Google Search Console

You must complete site verification for Google to receive the site map. Open Google Search Console Add and verify your website (optional) DNS,HTML Documents or HTML markup(e.g., authentication methods)

Image [4] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)

Here are three ways to verify.

Method 1: Upload HTML files to the root directory

As shown:

  1. Click on "Download this file" (for example:googlexxxxxxxxxxxxxxxx.html)
  2. utilization FTP,1Panel or hosting file manager to upload the file to the WordPress root directory (and the wp-config.php (Position on the same level)
  3. Once uploaded, click "Verify".
Image [5] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)

Note: This file should not be deleted or the validation status will be invalidated.

Method 2: Use WPCode The plugin adds Meta tags forHTML markup

If you are not comfortable uploading files, you can also use Meta tag validation:

  1. Installation and activation WPCode plug-in (software component)
  2. Add the HTML Snippet as shown:
Image [6] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)

Sample code:

<meta name="google-site-verification" content="
  1. Once saved and activated, return to the Search Console and click "Verify".
Image [7] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)

Method 3: Use DNS Authentication(for users with domain name resolution privileges)

  1. Copy the TXT record provided by Google
  2. Log in to your domain's DNS administration backend
Image [8] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)
Image [9] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)
  1. Add a TXT record and paste in the validation code
    • Add a new line to the DNS settings TXT For records, paste the TXT value provided by Google into the corresponding field, which usually needs to be filled in as follows:
      • Hostname/Name: usually empty or written @(It could also be www(depending on specific requirements).
      • TXT Recorded Value: Paste the value provided by Google.
      • TTL: Select the default value.
Image [10]- Complete guide to submitting sitemaps for WordPress websites (with validation methods)
Image [11]- Complete guide to submitting sitemaps for WordPress websites (with validation methods)
  1. After adding the TXT record, clickrecognizeSave the DNS settings and wait for them to take effect. Please note that it may take anywhere from a few minutes to 48 hours for DNS records to take effect.Return to Google Search Console VerificationThe

Step 3: Submit a sitemap

  1. Go back to the Google Search Console and click on [Site Map] on the left side.
  2. Paste your sitemap link (e.g. sitemap_index.xml)
  3. Click [Submit].
Image [12]- Complete guide to submitting sitemaps for WordPress websites (with validation methods)

Step 4: Wait for Google to crawl the sitemap

After validation and submission of the sitemap, Google willVisit your sitemap regularly, crawling the update page. You can check the status and inclusion in the Site Map section of Search Console.

Image [13] - Complete guide to submitting sitemaps for WordPress websites (with validation methods)

summarize

pass (a bill or inspection etc) Google Search Console (GSC) Submit SitemapSitemap helps Google discover and index your content quickly, and you can monitor indexing status, crawl errors, and optimize site inclusion at GSC. Make sure your Sitemap is kept up-to-date to accelerate the discovery and ranking of new content.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
Author: xiesong
THE END
If you like it, support it.
kudos10 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments