Javascript required
Skip to content Skip to sidebar Skip to footer

How to Upload a Sitemap to Wordpress

Are you lot wondering what is an XML sitemap, and how to add together it to your WordPress website?

An XML sitemap helps search engines easily navigate through your website content. Information technology gives them a listing of all your content in a machine-readable format.

In this commodity, we volition explain what is an XML sitemap, and how to easily create a sitemap in WordPress.

What is an XML Sitemap and how to create one for your WordPress site

What is an XML Sitemap?

An XML sitemap is a file that lists all your website content in an XML format, so search engines like Google tin hands discover and index your content.

Dorsum in the early 2000s, government websites used to have a link on their main pages, titled "Sitemap". This page usually independent a list of all the pages on that website.

While some websites still accept HTML sitemaps today, the overall usage of sitemaps have evolved.

Today sitemaps are published in an XML format instead of HTML, and their target audience is search engines and not people.

Basically, an XML sitemap is a manner for website owners to tell search engines most all the pages that exist on their website.

It also tells search engines which links on your website are more important than others, and how oftentimes you update your website.

While XML sitemaps will non boost your search engine rankings, they allow search engines to better crawl your website. This means they tin find more content and showtime showing information technology in search results thus resulting in more search traffic, and improved SEO rankings.

Why You Need an XML Sitemap?

Sitemaps are extremely important from a search engine optimization (SEO) point of view.

Simply adding a sitemap does non affect search rankings. Even so, if at that place is a page on your site that is not indexed, then sitemap provides you a way to allow search engines know nigh that folio.

Sitemaps are extremely useful for when you first offset a blog or create a new website because near new websites don't have any backlinks. This makes information technology harder for search engines to discover all of their content.

This is why search engines like Google and Bing permit new website owners to submit a sitemap in their webmaster tools. This allows their search engine bots to easily discover and index your content (more on this afterwards).

Sitemaps are equally equally important for established popular websites besides. They allow you to highlight which part of your websites are more than of import, which parts are more frequently updated, etc, so search engines tin can visit and index your content accordingly.

That being said, let'due south take a look at how to create XML sitemap in WordPress.

Video Tutorial

Subscribe to WPBeginner

If you'd adopt written instructions, just proceed reading.

How to create a Sitemap in WordPress?

There are several ways to create an XML sitemap in WordPress. We will testify you three popular methods to create an XML sitemap in WordPress, and y'all tin can choose ane that works best for you.

  • How to create an XML sitemap in WordPress without a plugin
  • Creating an XML sitemap in WordPress using All in One SEO
  • Creating an XML sitemap in WordPress using Yoast SEO
  • Submit your XML sitemap to search engines
  • How to utilise XML sitemaps to abound your website

Method i. How to Create an XML Sitemap in WordPress without a Plugin

This method is very basic and limited in terms of features.

Until August 2020, WordPress didn't accept built-in sitemaps. However in WordPress 5.5, they released a basic XML sitemap feature.

This allows you to automatically create an XML sitemap in WordPress without using a plugin. You lot can simply add wp-sitemap.xml at the stop of your domain proper name, and WordPress volition testify you lot the default XML sitemap.

Default WordPress XML sitemap

This XML sitemap feature was added to WordPress to make sure that any new WordPress website does not miss out on the SEO benefits of an XML sitemap.

However, it is not very flexible, and you cannot hands control what to add or remove from your XML sitemaps.

Luckily, virtually all peak WordPress SEO plugins come up with their ain sitemap functionality. These sitemaps are better, and you lot tin can control which content to remove or exclude from your WordPress XML sitemaps.

Method ii. Creating an XML Sitemap in WordPress using All in Ane SEO

The easiest way to create an XML sitemap in WordPress is by using the All in One SEO plugin for WordPress.

It is the all-time WordPress SEO plugin on the marketplace offering you a comprehensive gear up of tools to optimize your blog posts for SEO.

Beginning, you need to install and activate the All in One SEO plugin. For more than details, come across our step by pace guide on how to install a WordPress plugin.

Notation: Sitemap characteristic is as well bachelor in AIOSEO Free version. However to get advanced news sitemap and video sitemaps, you lot'll need the Pro version.

Upon activation, go to the All in One SEO » Sitemaps page to review sitemap settings.

Enable sitemap in All in One SEO

By default, All in One SEO volition enable the Sitemap characteristic for you and supplant the bones WordPress sitemaps.

You can click on the 'Open Sitemap' push to preview it to see what it looks like. Yous can besides view your sitemap by adding 'sitemap.xml' to the URL such as www.case.com/sitemap.xml.

All in One SEO XML sitemap preview

Every bit a beginner, you don't demand to do anything as the default settings would work for all kinds of websites, blogs, and online stores.

However, you tin can customize the sitemap settings to control what yous desire to include in your XML sitemap.

But scroll down to the Sitemap settings department.

AIOSEO Sitemap settings

This department gives you options to manage sitemap indexes, include or exclude post types, taxonomies (categories and tags). You can too enable XML sitemaps for date-based archives and writer athenaeum.

All in One SEO automatically includes all your WordPress content in XML sitemaps. Nevertheless, what if y'all accept stand-alone pages like a contact form, a landing page, or Shopify store pages that are not part of WordPress?

Well, AIOSEO is the only plugin that lets you add external pages in your WordPress sitemap. Simply curl to the Boosted Pages section and plow it on. This will show y'all a form where you tin can add together any custom pages that you want to include.

Adding additional pages to your WordPress XML sitemap

You simply need to add the URL of the folio that y'all want to include and and so set a priority where 0.0 is the lowest and 1.0 is the highest, if you are unsure then nosotros recommend using 0.3.

Next, choose the frequency of updates and the last modified appointment for the page.

You can click on the 'Add together New' button if y'all demand to add more pages.

Don't forget to click on the 'Save Changes' button to store your settings.

Excluding Specific Posts / Pages from your XML Sitemap

All in One SEO allows you to exclude any post or page from your XML Sitemaps. You tin practise this by clicking on the Advanced Settings section under the All in 1 SEO » Sitemaps page.

Excluding items from your WordPress XML sitemap

You can likewise remove a mail or page from your XML sitemaps by making it no-index and no-follow. This will block search engines from showing that content in search results.

Simply edit the mail or page that you desire to exclude and scroll down to the AIOSEO Settings box below the editor.

Removing a post or page from XML sitemap using robots.txt

From here y'all need to switch to the Advanced tab and cheque the boxes next to 'No Index' and 'No Follow' options.

Creating Additional Sitemaps

All in One SEO allows you to create additional sitemaps like a video sitemap or a news sitemap.

You lot can create a video sitemap if yous regularly embed videos in your blog posts or pages. It allows search engines to display posts in search and video search results along with a video thumbnail.

Video search results showing video thumbnail

You can also create a News sitemap if y'all run a news website and want to appear in Google News search results.

Simply go to All in One SEO » Sitemaps and switch to the Video Sitemap or News Sitemap tabs to generate these sitemaps.

Generating video and news sitemaps in All in One SEO

Overall, AIOSEO is the best WordPress plugin because it gives you all the flexibility and powerful features at a very affordable price.

Method 3. Creating an XML Sitemap in WordPress using Yoast SEO

If you are using Yoast SEO equally your WordPress SEO plugin, and then it besides automatically turns on XML sitemaps for you.

First, you need to install and activate the Yoast SEO plugin. For more details, see our step by footstep guide on how to install a WordPress plugin.

Upon activation, go to SEO » General page and switch to the 'Features' tab. From hither, you need to ringlet downwardly to the 'XML Sitemap' choice and make certain that it is turned on.

Yoast SEO XML Sitemap option

Next, click on the relieve changes button to store your changes.

To verify that Yoast SEO has created an XML Sitemap, you can click on the question marking icon side by side to the XML Sitemap option on the page.

View XML Sitemap created by Yoast SEO plugin

Afterward that, click on the 'See the XML Sitemap' link to view your live XML sitemap generated by Yoast SEO.

Y'all tin also find your XML sitemap past just calculation sitemap_index.xml at the end of your website address. For instance:

https://www.example.com/sitemap_index.xml

Yoast SEO sitemap

Yoast SEO creates multiple sitemaps for different types of content. By default, it will generate sitemaps for posts, pages, author, and categories.

How to Submit Your XML Sitemap to Search Engines

Search engines are quite smart in finding a sitemap. Whenever you publish new content, a ping is sent to Google and Bing to inform them nigh changes in your sitemap.

However, nosotros recommend that you lot submit the sitemap manually to ensure that search engines tin can find it.

Submitting Your XML Sitemap to Google

Google Search Console is a free tool offered past Google to help website owners monitor and maintain their site'south presence in Google search results.

Adding your sitemap to Google Search Console helps it rapidly discover your content even if your website is brand new.

Starting time, you need to visit the Google Search Console website and sign up for an business relationship.

After that, you will be asked to select a property type. You lot can cull a domain or a URL prefix. We recommend choosing URL prefix as it is easier to setup.

Select property type

Enter your website's URL and and so click on the continue button.

Next, you will be asked to verify ownership of the website. You will run across multiple methods to do that, we recommend using the HTML tag method.

Google Search Console verify site ownership

Just copy the code on the screen and then go to the admin area of your WordPress website.

If you're using AIOSEO, then it comes with easy webmaster tools verification. Simply go to All in I SEO » General Settings and and then click the Webmaster Tools tab. After that, yous can enter the code from Google there.

AIOSEO Site Verification

If you're not using AIOSEO, then you need to install and actuate the Insert Headers and Footers plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Insert Headers and Footers page and add the code you copied earlier in the 'Scripts in Header' box.

Add your verification code in the header section

Don't forget to click on the salvage button to store your changes.

At present, switch back to the Google Search Panel tab and click on the 'Verify' button.

Google volition check for verification code on your site and so add together it to your Google Search Console account.

Notation: If the verification is unsuccessful, then please make sure to articulate your cache and then attempt over again.

Now that you lot have added your website, let's add your XML sitemap as well.

From your business relationship dashboard, y'all need to click on 'Sitemaps' from the left column.

Add sitemap to Google Search Console

After that, y'all demand to add the last role of your sitemap URL under the 'Add together new sitemap' section and click the Submit button.

Google will now add your sitemap URL to your Google Search Console.

It will take Google some time to crawl your website. After a while, you lot would be able to run into bones sitemap stats.

This information includes the number of links Google found in your sitemap, how many of them got indexed, a ratio of images to web pages, and more than.

Sitemap stats in Google Search Console

Submitting Your XML Sitemap to Bing

Similar to Google Search Console, Bing also offers Bing Webmaster Tools to help website owners monitor their website in the Bing search engine.

To add together your sitemap to Bing, you need to visit the Bing Webmaster Tools website. Hither, you'll run across two options to add your site. You can either import your site from Google Search Console or add it manually.

Create account in Bing Webmaster Tools

If you've already added your site to Google Search Console, we suggest importing your site. It saves time as your sitemap will automatically exist imported for you.

If you choose to add your site manually, you lot need to enter your site's URL and then verify the site.

Bing will now inquire y'all to verify the ownership of your website and will testify you several methods to do that.

We recommend using the Meta tag method. Simply copy the meta tag line from the page and head over to your WordPress admin expanse.

Copy meta tag to verify site in Bing Webmasters Tool

Now, install and activate the Insert Headers and Footers plugin on your website.

Upon activation, you demand to visit Settings » Insert Headers and Footers page and add the lawmaking you copied earlier in the 'Scripts in header' box.

Add Bing verification code

Don't forget to click on the Save button to store your changes.

How to Apply XML Sitemaps to Grow Your Website?

Now that you lot accept submitted the XML sitemap to Google, let's have a look at how to utilise it for your website.

First, you need to keep in mind that the XML sitemap does non meliorate your search rankings. Nevertheless, information technology does help search engines find content, adjust crawl rate, and improve your website's visibility in search engines.

Yous need to keep an center on your sitemap stats in Google Search Console. It can show you clamber errors and the pages excluded from search coverage.

Sitemap coverage

Below the charts, you tin can click on the tables to view bodily URLs excluded or not indexed past Google.

Sitemap URLs reports

Ordinarily, Google may make up one's mind to skip indistinguishable content, pages with no content or very lilliputian content, and pages excluded past your website's robots.txt file or meta tags.

However, if you have an unusually high number of excluded pages, then yous may desire to check your SEO plugin settings to make sure that you are not blocking whatever content.

For more details, see our consummate Google Search Console guide for beginners.

We hope this article helped reply all your questions about XML sitemaps and how to create an XML sitemap for your WordPress site. You may also want to see our guide on how to quickly increase your website traffic with step by step tips, and our comparison of the all-time keyword research tools to write better content.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can besides observe u.s. on Twitter and Facebook.

bartonanclund.blogspot.com

Source: https://www.wpbeginner.com/beginners-guide/what-is-a-wordpress-sitemap-how-to-create-a-sitemap-in-wordpress/