How To Create A WordPress Sitemap And Get Pages Indexed Faster

How to create a WordPress sitemap, find which one your site really serves, submit it to Google and Bing, and what actually gets new pages indexed faster.

RankControl9 min read
How To Create A WordPress Sitemap And Get Pages Indexed Faster

Every WordPress site already has a sitemap. WordPress 5.5 put one at /wp-sitemap.xml back in 2020, and most owners never open it. Problems start once a plugin adds a second sitemap and you can't tell which of the two Google is reading.

On October 18, 2026, we looked at what 20 well-known WordPress sites really serve. At eight of them, /wp-sitemap.xml redirected somewhere else. One site served a file at that address whose own XML said a different plugin made it. So find out what your site has before you submit anything.

Below you'll see how to create a WordPress sitemap, find the one your site serves, and submit it to Google and Bing. Then we get to what helps new pages get indexed faster.

What WordPress makes on its own

When WordPress announced version 5.5, it said the site "will expose a sitemap index at /wp-sitemap.xml." That index points to smaller sitemaps for your public posts and pages. Others cover categories, tags and author archives, and the homepage is in there too.

A single small sitemap holds up to 2,000 URLs. The index can list up to 50,000 of those sitemaps, so you won't run out of room. WordPress also adds the sitemap to the robots.txt file it serves, which means search engines find it without any work from you.

If you don't run an SEO plugin, you don't need to create a WordPress sitemap at all. You just check that it works and submit it.

Find out which sitemap your site serves

You need about five minutes for this. Open each address below in your browser.

  1. yoursite.com/wp-sitemap.xml
  2. yoursite.com/sitemap_index.xml
  3. yoursite.com/robots.txt

A list of sitemaps at the first address means WordPress core is in charge. If it jumps to the second address, an SEO plugin has taken over. Either way, the last line of robots.txt should be a Sitemap: line that points to whichever one is live.

Our 20-site check turned up three surprises. When Search Engine Journal redirected /wp-sitemap.xml, the response header named Yoast SEO as the source. WPBeginner did answer at /wp-sitemap.xml, but the file's own comment said All in One SEO Pro made it, not WordPress. And three sites had working sitemaps but no Sitemap line in robots.txt at all.

Seven more sites blocked our request or said "not found." Most of their robots.txt files pointed to working sitemaps, so bot protection is the likely cause. If yours won't load, look at your firewall before you decide the sitemap is missing.

We call this the two-sitemap trap. A plugin adds its own sitemap while the core one stays live, or something else answers for it, and you submit whichever you found first. Search engines are then left guessing which list is current.

Built by the team that got cited in 48 hours.

Content generation, backlink building, AI visibility tracking, and Google rankings. One platform, zero guesswork.

Show me the platform →One platform · 7 AI agents

If you use Yoast SEO or Rank Math

Both plugins swap the core sitemap for their own at sitemap_index.xml. You don't have to switch anything off by hand, but each one behaves a little differently.

In Yoast SEO, go to Settings, then Site features, and you'll find an XML sitemaps toggle. Yoast's help page says that turning it on "will automatically disable the default WordPress XML sitemap." It also warns that if you later turn Yoast's sitemap off, the core one won't come back by itself.

Rank Math switches its sitemap on during setup. It lives at sitemap_index.xml, with separate sitemaps inside for posts, pages and products. You change it under Rank Math SEO, then Sitemap Settings.

Rank Math knowledge base page titled How to Submit a Sitemap to Google, explaining that it combines individual sitemaps into one sitemap index

If you've connected Rank Math to Search Console, its guide says it "will automatically submit the sitemap" for you. I'd still open the Sitemaps report once to make sure it arrived.

Never run two SEO plugins with their sitemaps on. That's the quickest way to land in the two-sitemap trap.

Submit it to Google Search Console

Google's steps on the Sitemaps report help page are short. Give yourself about 15 minutes the first time.

  1. Open Search Console and pick your property.
  2. Run your sitemap address through URL Inspection to check Google can reach it.
  3. Open Sitemaps from the left menu.
  4. Paste the address into "Add a new sitemap" and click Submit.

Google Search Central documentation page titled Build and submit a sitemap, with a table comparing sitemap formats

After that, the report shows one of three statuses. With "Success", Google fetched the file and read it. "Has errors" means it got the file, but something inside is broken. A "Couldn't fetch" is usually a firewall, a redirect loop or a wrong address.

Submit only the index. Google reads it and follows it to all the small sitemaps, so you don't need to add each one. Once you're set up, our guide to Search Console's AI performance report covers what else is worth a look in there.

Submit it to Bing Webmaster Tools

Don't skip Bing. Microsoft Copilot answers draw on Bing's index, so it matters more than its search share suggests. Bing's sitemaps help page calls sitemaps "an excellent way to tell Bing about URLs" its crawlers might miss.

Sign in to Bing Webmaster Tools, open Sitemaps and click "Submit sitemaps" at the top right. Then paste the same address you gave Google. If the site is already verified in Search Console, Bing lets you import it from there and save a step.

Bing reads the Sitemap line in robots.txt as well. WordPress and the big plugins add that line for you, but our check found sites without it, so look at yours.

Common sitemap problems and fixes

Most WordPress sitemap trouble traces back to a short list of causes. Here's what each status or symptom usually means.

What you seeLikely causeWhat to do
"Couldn't fetch" in Search ConsoleFirewall, security plugin or a wrong addressLoad the sitemap in a private window, then check bot rules in your firewall or CDN
"Has errors"A broken URL or bad XML inside one sitemapOpen the report, find the sitemap named, and check the plugin is up to date
/wp-sitemap.xml shows 404Sitemaps turned off, or a plugin replaced itTry /sitemap_index.xml, then check your SEO plugin's sitemap toggle
Pages in the sitemap but not indexedThin, duplicate or poorly linked pagesImprove the page and link to it from pages that are already indexed
Noindexed pages in the sitemapA setting left on for tags or mediaExclude those types in the plugin's sitemap settings

A site move catches people out too. If you changed domains, or went from http to https, submit the new sitemap under the new property. The old one won't carry over on its own.

When the sitemap checks out and pages still won't index, look at the pages. The file is almost never the cause.

What a sitemap won't do

Google doesn't oversell it. Its sitemap guide, last updated July 8, 2026, calls a sitemap "merely a hint." The Search Console help page goes further and says there's no guarantee a URL in it "has been or will be crawled or indexed."

You can see this in a thread on r/TechSEO. A new WordPress site owner had the homepage indexed and nothing else, and they kept asking for indexing by hand. The top reply told them to stop, since repeat requests don't move you up the queue. It added that on a site that small, Google doesn't need a sitemap to find the pages.

r/TechSEO· u/Mysterious-Tip6031· Jul 16, 2026

Need help: Homepage is indexed, but no other pages are getting indexed (WordPress + Hostinger)

Hi everyone, I'm dealing with a frustrating indexing issue on one of my client websites and would really appreciate your suggestions. Here's the situation: The website is built on WordPress and hosted on Hostinger. The homepage is indexed,...

↑ 13 upvotes21 comments
Via Reddit

A developer on r/webdev described a second trap. Your sitemap can load fine in your browser while a firewall or Cloudflare rule still blocks Googlebot from the pages it lists. So the fact that you can see the file proves nothing about what Google can crawl.

How to get new pages indexed faster

The sitemap only tells Google a page exists. Getting it indexed takes a reason for Google to care, and a few habits do most of the work.

Start with links. Your homepage and your older popular posts get crawled often, so a link from one of them gets a new page found fast. Then use URL Inspection once for each new or changed page. Leave it alone for a week or two, since asking daily won't help.

If a page still sits outside the index, fix it before you resubmit. A thin page, or a near-copy of another post, is often left out for a reason. Keep the sitemap itself clean as well. Most plugins let you leave out redirects, noindexed pages and thin tag archives.

Last, check your robots.txt, where one stray rule can block a whole folder. Our robots.txt and AI crawler checklist covers what to look for. For pages you update rather than create, our guide to re-indexing signals after a content refresh goes deeper.

RANKCONTROL

See your first AI citation report in under 5 minutes.

No setup calls. No onboarding meetings. Connect your domain and see where AI mentions your brand right now.

Doing it yourself or handing it off

Setup is a one-time job of about 30 minutes. You run one check, change one plugin setting and submit to Google and Bing. From then on, the sitemap updates itself each time you publish. The work that never ends is the pages, which need internal links, real content and a reason to be indexed.

RankControl can take that part on. We write articles against the pages already ranking for each keyword and publish them as native WordPress posts, so they land in your sitemap like any other post. Our AI visibility tracking then checks up to 50 buyer questions a week across seven AI engines. Expect traffic from Google and AI search first, with citations following more slowly as other sites link to you.

RANKCONTROL

Your competitors are building backlinks while you read this.

Organic outreach, social mentions, and citations from Editorial Circle member sites, with managed backlinks available as an add-on. Grow your domain authority without running the campaign yourself.

Frequently Asked Questions

Yes. Since WordPress 5.5, every site has a built-in sitemap index at /wp-sitemap.xml, and WordPress adds it to your robots.txt file for you.

Try yoursite.com/wp-sitemap.xml first. If you run Yoast SEO or Rank Math, look at yoursite.com/sitemap_index.xml instead, since those plugins replace the core sitemap with their own.

Use one, never both. With Yoast SEO or Rank Math, keep the plugin's sitemap on and submit sitemap_index.xml. Without an SEO plugin, the core sitemap is fine.

Not on its own. Google calls a sitemap merely a hint, so your pages still need to be worth indexing and linked from pages Google already visits.

Sign in to Bing Webmaster Tools, open Sitemaps and click Submit sitemaps. If the site is already verified in Search Console, Bing lets you import it from there instead.

RANKCONTROL

Ready to rank on Google and get AI citations?

Content that ranks on Google and gets cited by AI search engines. Published on your domain. Citations tracked weekly.

Related Articles

Local Keyword Research: Finding The Searches Nearby Buyers Use

Nov 11, 2026 · 9 min read

Local Keyword Research: Finding The Searches Nearby Buyers Use

How to do local keyword research: service plus city and neighborhood modifiers, what 'near me' really means to Google, local volume in Keyword Planner and why it's thin, the search terms report in your Business Profile, and how to map the results to service and location pages.

What Are Organic Keywords? How To Grow Them With Content

Nov 11, 2026 · 9 min read

What Are Organic Keywords? How To Grow Them With Content

What organic keywords are, why Semrush, Ahrefs and Google Search Console never show the same count for the same site, how to see your real ones for free, how to grow them with new pages and near-miss updates, and why they matter for AI search too.

Product Page SEO Content That Works In Google And AI Shopping

Nov 13, 2026 · 9 min read

Product Page SEO Content That Works In Google And AI Shopping

The content side of product page SEO: unique descriptions over manufacturer copy, titles, answers to buyer questions, reviews, images and the product data AI shopping reads, with Google's and OpenAI's own guidance and a check of what nine live product pages actually carry.

Primary Vs Secondary Keywords: How To Pick One Focus Per Page

Nov 12, 2026 · 9 min read

Primary Vs Secondary Keywords: How To Pick One Focus Per Page

How to pick one primary keyword for each page and support it with secondary keywords: matching the search intent, checking your own site for overlap first, where each phrase goes according to Google's own documentation, and what we found on 15 pages ranking for keyword topics.

Local Citation Building: How Directory Listings Feed Google And AI Answers

Nov 10, 2026 · 9 min read

Local Citation Building: How Directory Listings Feed Google And AI Answers

Local citation building from zero, for a new business or one that just moved: the order to build listings in, from Google Business Profile to Bing Places, Apple, Yelp, the data aggregators and industry directories, how long each takes, and what manual work costs against paid services from BrightLocal, Whitespark and Moz Local.

How To Get Into The Google Local Pack And Local AI Answers

Nov 9, 2026 · 8 min read

How To Get Into The Google Local Pack And Local AI Answers

How to get into the Google local pack, step by step, built on Google's own three local ranking factors: relevance, distance and prominence. Categories, profile completeness, reviews, consistent details and local pages, plus how the same signals show up in local AI answers.

SEO Statistics 2026: The Numbers Behind Organic Search Now

Nov 8, 2026 · 14 min read

SEO Statistics 2026: The Numbers Behind Organic Search Now

SEO statistics for 2026 from primary sources only: Google's search share, mobile vs desktop, how long new pages take to rank, how old top pages are, backlinks and content length vs rankings, and what SEO services cost.

How Long Does SEO Take To Work? Real Timelines For New And Older Sites

Oct 30, 2026 · 8 min read

How Long Does SEO Take To Work? Real Timelines For New And Older Sites

How long does SEO take? We checked the ages of 309 pages on Google's first page for 40 searches. The median page was 2.2 years old, and only 3% sat on domains younger than two years.

How To Increase Website Traffic From Google And AI Search

Oct 30, 2026 · 9 min read

How To Increase Website Traffic From Google And AI Search

How to increase website traffic from Google and AI search in 2026, built on a 30-question test of which pages Google, AI Overviews and ChatGPT actually send people to.

THE SIGNAL

Insights on AI and Google search strategy. No fluff.

Get the latest on AI citations, Google rankings, and content strategy.

No spam. Unsubscribe anytime.