Easy Ways to Create a Sitemap for Your WordPress Site

Easy Ways to Create a Sitemap for Your WordPress Site

What is a Sitemap?

A sitemap is a document that lists all URLs of your website that you would like crawled by a search engine. Most often, this document gives additional details such as the date a page was last modified, how frequently a page may change, and whether the page should be given priority over others.

Why do I Need a Sitemap?

We’ve all become accustomed to using a search engine, probably daily. We often “Google” our questions throughout the day. Sitemaps are important because they tell search engines what pages are available for crawling on the website. They help search engines navigate your website and with this, your content is indexed.

You may be wondering how sitemaps work, since it is kind of an abstract concept. Think of it this way: your website is a building, and the sitemap is the blueprint that explains where all the parts of the structure are. An important addition to any site, they are easy to create and once they are set up, do not require a lot of maintenance.

How do the Search Engines Find the Sitemap?

Once your sitemap is set up, search engines don’t automatically find it. To have your site indexed, a submittal process is required. The process is easy, and this can be accomplished in just a few simple steps. There are others, but the two major search engines to start with are Google and Bing. Once you have your sitemap ready, you can do this by setting up a Google Webmaster Tools and a Bing Webmaster Tools account. After the accounts are setup, you will be able to walk through step by step to get your sitemap submitted.

How to Create a Sitemap

Small Website Solution Manual Option

XML-Sitemaps is a tool that will generate a sitemap for you. Currently, it will generate up to 500 pages. This option works best for small websites that are not updated frequently since it requires manual updating each time a page is added or removed. It’s worth mentioning in case your preference is to be up and running quickly and don’t mind doing the manual work of creating and moving the sitemap file. If you want to create something fast, or are just curious about what a sitemap looks like, it is easy to generate one. All you have to do is enter your URL and it takes care of the rest.

Screenshot of XML sitemap generator

Once the generator has created your sitemap, you need to upload it to the root of your domain; the URL will be something like www.yoursite.com/sitemap.xml.

WordPress Specific Solutions for Sitemaps

We all know how awesome WordPress is and that there are many great plugins available. Although there is nothing wrong with manually creating a sitemap, it can be a pain if you have to do this all of the time. With sitemap specific plugins, there is no need to manually create your own. Although there are many options (and opinions!) out there, these two have been chosen as great options for an automatic solution to get you up and running.

Yoast’s WordPress SEO

You may already be using WordPress SEO by Yoast. If so, it does have a sitemap generator built right into it. It is very easy to setup.

Screenshot of Yoast Sitemaps plugin

You will see an extensive option list that can be customized to your liking. If there are specific post types and taxonomies that you would like excluded, that is an option. If you have a very large site, Yoast has the capability to only include the specified number of URL’s listed on a page, which is less strain on your server.

The nice thing is, this plugin takes care of the generating and publishing of the sitemap. It will be found at http://www.yoursite.com/sitemap_index.xml. The main sitemap page lists a sitemap for each post type. It lists all the URLs that you would like crawled.

Google XML Sitemap

Google XML Sitemaps is another great option. Google XML Sitemaps gives you extra information like details of when your sitemap was last generated, and it also has the capability to calculate the priority for each post by looking at the number of comments.

Screenshot of Google XML Sitemaps

It does require a bit of setup to get up and running. The main settings page has options so you can create the perfect sitemap. Most of the configuration settings can be modified on this same page. Like Yoast, you can easily choose what to exclude. In addition to choosing the number of posts that are listed, you can increase the memory limit and execution time for the sitemap creation process, making this a flexible option.

This plugin will publish and update the sitemap automatically, so once things are set up, you do not have to do anything else. By default, this is the path to the sitemap: http://www.yoursite.com/index.xml


It’s a good practice to have a sitemap, and as an extra motivator, it’s worth mentioning the fact that there are SEO benefits to having one.

On your journey to sitemapping, you will find that there are easy options for creating a sitemap, including great WordPress specific plugins that update and grow along with your site.

Get started.

Build faster, protect your brand, and grow your business with a WordPress platform built to power remarkable online experiences.