WordPress Sitemap: How to Create, Check, and Submit One

1 month ago 21
ARTICLE AD BOX

What Is a WordPress Sitemap?

A WordPress sitemap is simply a website record successful XML format that includes a database of each URLs you privation hunt engines to index.

The superior relation of an XML sitemap is to assistance hunt engines crawl your website much efficiently. 

It looks thing similar this:

sitemap successful  xml format

Starting with mentation 5.5, WordPress automatically generates a basal sitemap for your website. You conscionable person to adhd "/wp-sitemap.xml" to the extremity of your website's address. Like this:

https://www.yourdomain.com/wp-sitemap.xml

The WordPress sitemap URL besides updates whenever you people oregon update a page.

However, the default XML sitemap lone has basal functionality. That's wherefore galore WordPress website owners opt to make a sitemap with a plugin.

WordPress XML vs. HTML Sitemaps 

Since XML sitemaps are meant for hunt engines alternatively than users, radical browsing your tract volition not spot them.

On the different hand, HTML sitemaps are for your visitors. They're webpages that amusement a hierarchical database of selected pages connected your site.

Think of them arsenic a array of contents for your website that helps users navigate your content.

Here’s what a emblematic HTML sitemap looks like:

HTML sitemap listing links to pages

Why Are Sitemaps Important for WordPress Websites?

A sitemap helps hunt engines observe URLs connected your WordPress site. It assists them successful crawling your contented and knowing erstwhile pages person been updated.

They enactment arsenic a usher to your site, helping Google observe your pages faster.

It’s not mandatory, but having an XML sitemap is simply a method SEO champion practice. Sitemaps are particularly utile for WordPress sites that person analyzable structures with posts, pages, and customized station types.

Having a sitemap volition beryllium other adjuvant if:

  • Your tract is caller with fewer backlinks
  • You person tons of pages (500+)
  • Your tract has galore images oregon videos
  • Your interior linking isn't strong

Even if these don’t use to your WordPress site, a sitemap tin incorporate further accusation for hunt motor crawlers. Like the day erstwhile the leafage was past updated oregon the disposable languages a portion of contented is in. 

While WordPress creates a basal XML sitemap, you'll person to usage a plugin if you privation much power oregon other features. We'll screen however to bash that next.

How to Create a WordPress XML Sitemap with a Plugin

You tin make your WordPress sitemap with a WordPress sitemap plugin. There are 2 cardinal categories of plugins for this:

  • All-in-one SEO plugins 
  • Specialized sitemap plugins

Two fashionable choices for each of these categories are: Yoast SEO and XML Sitemap Generator for Google. We'll screen however to make a sitemap successful WordPress for both.

Generating a Sitemap with the Yoast SEO Plugin

Yoast SEO is an incredibly fashionable all-in-one SEO plugin. It volition screen galore SEO basics for your WordPress website.

Yoast SEO plugin overview

Once you instal the plugin, you're each set. It automatically creates your WordPress XML sitemap.

To instal Yoast SEO, spell to your WordPress dashboard > "Plugins" > "Add New Plugin". Search "Yoast SEO" and click "Install Now."

Steps to instal  Yoast plugin annotated successful  WordPress admin

Next, activate it by clicking “Activate.”

Yoast SEO plugin installed and Activate fastener  highlighted

Now spell to Yoast SEO settings and find the "XML sitemaps" section. Click "View the XML sitemap" to unfastened your WordPress sitemap successful a caller tab.

Yoast SEO plugin APIs settings conception  with View the XML sitemap fastener  highlighted

Alternatively, you tin presumption your sitemap by appending 'sitemap_index.xml' to your domain. Like this: yourdomainname.com/sitemap_index.xml.

The sitemap volition look similar this:

XML sitemap scale  generated by Yoast showing 2  sitemaps

Yoast SEO breaks down your sitemap into aggregate sitemaps for antithetic types of content. (By default, determination volition beryllium abstracted sitemaps for posts and pages.)

Here's what a elaborate presumption of a station sitemap for WordPress looks like:

Posts sitemap generated by Yoast showing database  of URLs with images and past  modified date

The plugin besides follows immoderate different sitemap champion practices:

  • It adds a nexus to your XML sitemap to the robots.txt file
  • It breaks up ample sitemaps into smaller ones and links them unneurotic successful a sitemap scale (e.g., a leafage sitemap, a station sitemap, a class sitemap, etc.)
  • It puts representation accusation successful the sitemap for hunt engines to find and index
  • It adds a “lastmod” day for each URL that shows erstwhile the leafage was past changed
  • It automatically removes “noindex” pages from the sitemap. (If you don't privation the leafage to beryllium indexed by Google, there's nary crushed to person it successful a sitemap.)

Generating a Sitemap with the ‘XML Sitemap Generator for Google’ Plugin

The XML Sitemap Generator for Google plugin is simply a escaped and casual enactment for generating an XML sitemap for a WordPress site.

XML sitemap generator for Google WordPress plugin

Once you instal the plugin, it automatically creates the sitemap.

You tin find the settings nether “Settings” > “XML-Sitemap.”

xml sitemap settings

You’ll spot galore options. You don't person to alteration thing if you're unsure astir these. The default settings volition beryllium capable successful astir cases. 

To spot your sitemap, conscionable click the nexus astatine the apical of the plugin's dashboard (above the settings).

It volition beryllium located astatine https://yourdomain.com/sitemap.xml.

It volition look similar this:

XML sitemap scale  generated by plugin showing URLs of sub sitemaps and past  modified dates

How to Submit Your WordPress XML Sitemap to Search Engines?

Once your sitemap is acceptable up, taxable it to Google and Bing. While it is not mandatory, this tin velocity up the process of hunt motor bots discovering and crawling your site. 

Submitting Your Sitemap to Google

Log successful to your Google Search Console account. 

(If you don't person an relationship yet, travel the steps successful our Google Search Console guide.)

To taxable your sitemap, spell to the “Sitemaps” tab. You'll find it nether the “Indexing” conception of the near menu.

google hunt  console sitemaps

There, you tin participate the URL of your sitemap and click “Submit.”

Google tin instrumentality clip (even respective days) to process your sitemap. Once indexed, the “Sitemap” study should amusement a greenish "Success" status.

Submitted sitemaps array  successful  hunt  console with Success presumption    highlighted

If you've utilized the default WordPress sitemap oregon a sitemap created by 1 of the plugins, you shouldn't brushwood immoderate issues. If Google Search Console detects immoderate issues, travel the provided directions to hole them.

Submitting Your Sitemap to Bing

Log successful to your Bing Webmasters Tools.

Go to the "Sitemaps" tab from the near sidebar menu.

Microsoft Bing Webmaster tools dashboard with SItemaps paper   enactment    highlighted

Click "Submit sitemap."

Submit sitemap fastener  highlighted

Enter the URL of your sitemap and click “Submit.”

Sitemap URL entered and Submit fastener  highlighted

Wait for a mates of days for Bing to process your sitemap. Once indexed, you'll spot a "Success" status.

Sitemap details array  with Success presumption    highlighted

How to Check Your WordPress XML Sitemap

To guarantee your WordPress sitemap is moving properly, usage a website crawler similar Semrush's Site Audit tool.

Once your website has been crawled (the instrumentality volition alert you), spell to the "Issues" tab to reappraisal each tract errors successful database format.

site audit issues report

Search “sitemap.” Site Audit volition item sitemap errors categorized by priority.

site audit sitemap errors

Here are immoderate examples of imaginable sitemap issues:

  • Your sitemap was not detected
  • Your sitemap has format errors
  • Your sitemap contains incorrect pages
  • Your sitemap record is excessively large

If immoderate sitemap contented is detected, conscionable click the “Why and however to hole it” link. That volition assistance you recognize the contented and springiness you recommendations connected however to hole it.

site audit however  to hole  sitemap

To larn much astir the wide method wellness of your website, work our usher to performing a technical SEO audit

Make Your WordPress Website Easy to Crawl for Search Engines

Search engines volition yet find and scale your pages. 

But you tin assistance them discover, crawl, and scale your pages faster. By giving them an XML sitemap that lists up-to-date URLs connected your WordPress site.

There are respective paid and escaped WordPress sitemap plugins you tin use.

Once generated, trial the sitemap to guarantee it is moving decently utilizing Semrush’s Site Audit. Sign up present for a escaped trial.