How to Create an XML Sitemap in WordPress with or without Plugin

Share this

XML sitemapThe sitemap is a file that informs search engines about web pages that exist on a site. It will list URLs that point to your posts, pages, categories, tags and media. This file will help web crawlers to better index your site.

Sitemaps are very important and useful for websites and blogs. It tells search engines about your site links, how often you update the contents and when it was updated last.

Search engine bots usually discover and crawl pages from the internal links in your site as well as external links pointing to it. XML sitemap let them find out web pages easily.

How to generate XML sitemaps using plugins

In WordPress, you can create XML sitemap using plugins.

1. Yoast SEO

Yoast SEO is an efficient plugin to create and manage XML sitemaps on WordPress. Tap SEO from the left sidebar and choose XML Sitemaps. Click Enabled to activate the feature.

XML sitemap

You can enable or disable specific post types like pages, attachment, categories, tags etc or exclude certain posts from the sitemap by choosing relevant options.

Click XML Sitemap link to view and submit it to the search engines.

2. Google XML Sitemaps

Google XML Sitemaps is a popular plugin to generate sitemaps in WordPress sites. It lets you customize the website structure in several ways.

XML sitemap

The plugin will notify leading search engines like Google, Bing upon a publishing a new post. You can include or exclude any content type, categories or specific posts from the sitemap. Priority marking is another useful feature of Google XML Sitemaps. Using this, you can ask search engines how often it should crawl your homepage, posts and other pages.

3. All in One SEO Pack

All in One SEO Pack is another plugin for search engine optimization and creating XML sitemap. Like above-mentioned plugins, it too allows you to include or exclude certain content types and taxonomies from the sitemap.

XML sitemap

All these plugins automatically submit your sitemap to the search engines. So there’s no need of submitting it from your end.

How to generate XML sitemaps without using any plugin

There’re a couple of online tools to generate XML sitemaps for your website.

XML Sitemaps and Online XML sitemap generator are popular among them. When compared to the plugins, you will get limited customizations on these tools. However, they are really useful if you are not interested in plugin installations.


Share this
  • I used to manually create XML sitemaps until Yoast came along. Now I can just forget about them 🙂

    • Yoast is one of my favorite plugins in WordPress and lets us create sitemap easily. Thanks a lot for spending your time with us.
      Take care,