Skip to main content

Services

SEOLocal SearchWeb DesignPaid AdsContentVideoeCommerceAuto RepairAll Services

Websites

By IndustryWebsite Designs

Work

PortfolioClientsAwardsVideo Games

Resources

BlogPodcastsFree ToolsWebsite GuideCourses

About

AboutProcessContactBook a Call
Home/Blog/How To Create & Submit
Technical SEO · WordPress · Updated 2026

How to Create & Submit a Sitemap in WordPress

Creating a sitemap for your WordPress website should only take a few minutes. We use Yoast SEO because it's a built in feature already on every site we build. Here's the full walkthrough for the XML sitemap setup plus submitting to all four major search engines.

Originally Published · 2018-11-09
Last Updated · May 2026
Reading Time · 7 min
Author · , Founder
A camera view down a sewer line with a green camera cable in the pipe
A camera down the line shows every joint. A sitemap does the same for search engines. Photo from Emergency Septic & Sewer, a Clickflame client.

Creating a sitemap for your WordPress website should only take a few minutes. While many options for creating a sitemap exist in WordPress, we use Yoast SEO since it's a built in feature we already use on sites we build or market. Here's the full configuration.

Creating an XML Sitemap With Yoast SEO

To configure your XML sitemap with the Yoast plugin, complete a few short steps.

  1. Log into your WordPress dashboard on your website.
  2. In the left menu, you'll see a listing labeled SEO. Click this link.
  3. Select the General tab underneath SEO.
  4. Within the Features section, beneath General, you'll see a switch for On/Off of your XML Sitemaps. Toggle this switch on to turn on an XML map of your website.

To view what your sitemap looks like, type the string /sitemap.xml after your domain (for example, yoursite.com/sitemap.xml). Now that you've finished creating this directory, search engines like Google can digest the content and structure of your website better.

Example XML Sitemap generated by Yoast SEO showing 874 URLs

Simply waiting for search engines to crawl and read your site can be painstakingly slow, however. There's an easier way to get this newly created map into search engine databases.

Submitting Your XML Sitemap to Search Engines

Sitemap submission · The four engines in this guideOne Sitemap, Four Engines
GoogleSearch Console → Index → SitemapsRemove outdated sitemaps, enter sitemap.xml, submit.
BingWebmaster Tools → Configure My Site → SitemapsThe default search engine on many computers.
YandexIndexing Options → Sitemap FilesOver 50% of search traffic in Russia.
BaiduWebmaster Tools → Submit Sitemap78% of Chinese search. Text, XML or index format, 10MB max.
About 10 minutesto submit to all four engines
BonusAdd a Sitemap: line to robots.txt for engines without manual submission
Where the sitemap goes in each engine, with the facts from this guide.

Submitting Your Sitemap to Google

Since Google is the most successful search engine in the world, you'll definitely want to submit your website here.

  1. Sign into Google Search Console.
  2. In the sidebar, select your website. (Add your website to Google Search Console if you haven't already done so.)
  3. Click on Sitemaps. This is located underneath the Index section.
  4. Remove any outdated or inaccurate sitemaps from this section.
  5. Enter sitemap.xml or your website's formatted URL for this file in the "Add a New Sitemap" section to complete the full URL for your website.
  6. Click submit and you're done.
Google Search Console’s public start page, headed Improve your performance on Google Search
Google Search Console, where the Sitemaps report sits under Index. It’s free. Sign in with the Google account that owns the site.

Submitting Your Sitemap to Bing

Submitting to other search engines helps with your visibility all over the internet. Many people use Bing simply because it's the default search engine on their computer.

  1. Sign into Bing Webmaster Tools.
  2. On the "My Sites" page, select your website. (Add your website here as well if you haven't previously done so.)
  3. Click Configure My Site and select the button for Sitemaps.
  4. Remove any old or inaccurate sitemaps here.
  5. Enter your new sitemap URL structure here and click submit.

Submitting Your Sitemap to Yandex

Yandex is a search engine founded in Russia and accounts for a market share of over 50% of search traffic in Russia. This means there's both plenty of web traffic and crawlers here to bolster your website's relevance on an international scale.

  1. Sign into Yandex Webmaster Tools.
  2. Select your website from the home page.
  3. Select Indexing Options and then Sitemap Files.
  4. Remove any old sitemaps that are no longer functioning or accurate.
  5. Type or copy your full sitemap URL into the text box at the top of the screen and click add to finish.

Submitting Your Sitemap to Baidu

Baidu is the 4th largest website on the internet as measured by global traffic rankings. While this is the second largest search engine in the world, since it has a 78% market share of Chinese search engine use, it's largely ignored by the western world. It should not be dismissed so lightly. We've found that submitting a sitemap to Baidu significantly helps in overall indexing and ranking.

Bonus Tip

Listing your sitemap within your robots.txt file is another way to make certain that search engines that don't accept a manual submission can quickly locate and index your website. Add a line like Sitemap: https://yoursite.com/sitemap.xml at the bottom of your robots.txt.

The robots.txt file on mechanicrank.com, ending with two Sitemap lines
The bonus tip on a live site. The robots.txt on MechanicRank, the directory we run, points to its sitemap.xml and sitemap-news.xml.

Why This Matters

While these are the only four major search engines we know of to submit to today, this process changes over the years and you should always submit to as many places as possible. More indexing equals more traffic. A 10 minute investment in submitting sitemaps to four search engines compounds over years of indexing improvements.

If you need help with the technical SEO foundation across the rest of your site (schema markup, internal linking architecture, page speed), see our best local SEO strategy guide or reach out.

Share ThisText ItLinkedInFacebook

Need Help with Local SEO?

Fuel for your business. Real client work, real receipts, real rankings. Tell us about your market and we'll tell you straight whether we can rank you in 90 days.

Book a Strategy Call See Our Work

Common Questions

How do I turn on an XML sitemap in Yoast SEO?

Log into your WordPress dashboard and click SEO in the left menu. Select the General tab under SEO. In the Features section you will see a switch for XML Sitemaps. Toggle it on. To see your sitemap, type /sitemap.xml after your domain, for example yoursite.com/sitemap.xml.

Where do I submit my sitemap in Google?

Sign into Google Search Console and select your website. Add the site first if you have not done so yet. Click Sitemaps, which sits under the Index section. Remove any outdated or wrong sitemaps. Then enter sitemap.xml in the Add a New Sitemap box and click submit. Google Search Console is free to use.

Which search engines should I submit my sitemap to?

This guide covers four engines. They are Google, Bing, Yandex and Baidu. Bing matters because it is the default search engine on many computers. Yandex has over 50% of search traffic in Russia. Baidu has a 78% share of Chinese search. Submitting to all four takes about 10 minutes.

Can I list my sitemap in robots.txt?

Yes. Listing your sitemap in your robots.txt file helps search engines that do not accept a manual submission find and index your site. Add a line with the word Sitemap and the full sitemap URL at the bottom of your robots.txt. MechanicRank, the directory we run, does this to point at its sitemap files.