You run WordPress with Yoast SEO and want Bing Webmaster Tools, Microsoft’s free console for site owners, to show you how Bing sees your site. The usual sticking points are where the Bing code goes and why some pages still do not show up afterwards. Paste Bing’s verification code into the Bing field under Yoast SEO > Settings > Site connections, then submit https://example.com/sitemap_index.xml in Bing Webmaster Tools. Add IndexNow too, a small protocol that tells Bing the moment a page changes. After that, a missing page is either a Yoast setting or a Bing crawl issue, and two checks tell you which.
What you’ll accomplish
- Your site verified in Bing Webmaster Tools, through Yoast, through DNS, or by importing it from Google Search Console.
- The Yoast sitemap index submitted once, so Bing finds every post type and taxonomy (categories, tags and similar groupings) on its own.
- IndexNow sending a ping each time you publish, with the key file proven reachable.
- A quick way to tell “Yoast is asking Bing not to index this page” from “Bing has not crawled it yet”.
Prerequisites
- WordPress on HTTPS, with Yoast SEO active. The free version covers verification and sitemaps. The menu path here is the Settings screen Yoast has used since version 20; older installs keep the same field under SEO > General > Webmaster Tools.
- An administrator account in WordPress.
- A Microsoft account to sign in at Bing Webmaster Tools. A personal Outlook address works.
- A terminal with
curlfor the checks. DNS access only if you choose the DNS method. - Optional: a site already verified in Google Search Console, which Bing can import.
If your admin screens are in another language, the labels change but the order of the menus stays the same.
How it works
WordPress and Bing exchange three different things, and each one answers a different question.
The ownership code is a meta tag named msvalidate.01 that Yoast prints in the head of every page. It proves you control the domain, and that is all it does. A verified site gets reports. It does not get indexed any faster.
The sitemap index is the file Yoast builds at /sitemap_index.xml. It points to one child sitemap per post type and taxonomy, such as /post-sitemap.xml and /category-sitemap.xml. Bing reads it and queues the URLs on its own timetable. Yoast leaves noindexed content out of these files on purpose.
IndexNow works the other way round. Your site sends Bing a short message listing the URLs that changed, and Bing fetches a key file from your site to confirm the message really came from you. Bing shares these pings with the other search engines that take part. The protocol is described at indexnow.org.
One more thing sits on top of all three: the robots meta tag and the canonical link that Yoast writes into each page. The robots tag says whether a page may be indexed, and the canonical names the address that should get credit for it. A page can be verified, listed in the sitemap and pinged, and still stay out of Bing because Yoast tells Bing noindex for it.
Step-by-step
-
Add your site in Bing Webmaster Tools. Sign in at
https://www.bing.com/webmasters/. On the add-a-site screen you get two choices: import from Google Search Console, or add a URL by hand. If the site is already verified in Google, the import is the fastest route. You sign in to Google, allow read access, and pick the site. Bing copies the verification and the sitemaps you submitted there. Success looks like this: the site appears in your Bing site list as verified, and the Sitemaps page already shows the Google sitemaps. If Google is not set up yet, setting up Google Search Console for WordPress covers that side. If you imported, skip to step 4. -
Copy the code from Bing’s meta tag option. Choose to add the site manually and type the exact address your site uses, with or without
www. Bing offers three ways to verify: an XML file, a meta tag, or a DNS record. Open the meta tag option. Bing shows a tag like<meta name="msvalidate.01" content="...">. Copy only the value insidecontent, the long string of letters and digits. -
Paste it into Yoast and verify. In WordPress, open Yoast SEO > Settings > Site connections. You will see one verification field per search engine. Paste the code into the Bing field and click Save changes. Then purge your page cache if you run one, because a cached page will not show the new tag. Back in Bing, click Verify. Success: Bing confirms the site is verified and opens its dashboard. If Bing says it cannot find the tag, run the first check under “Validate it works” before you try again.
On Rank Math, the same field sits under Rank Math SEO > General Settings > Webmaster Tools. If your theme or a cache layer keeps stripping tags from the
head, use the DNS option instead. Bing gives you a CNAME record, an alias from one hostname to another, to create at your DNS host. Nothing WordPress does can remove it. Check it with the hostname Bing showed you in place of the example:dig +short CNAME 6a1f0c93e2b84d57.example.comExample output:
verify.bing.com.The line should match the target Bing gave you. No output means the record is not published yet, or was created under the wrong name.
-
Check that Yoast’s sitemap is on. Open Yoast SEO > Settings > Site features and find the XML sitemaps card. It should be switched on, and it carries a link to view the sitemap. Open that link. Success: a table listing child sitemaps, each with a last-modified date. If a post type you care about has no child sitemap, Yoast is hiding that type from search results. Fix that in Yoast’s content type settings before you submit anything.
-
Submit the sitemap index in Bing. In Bing Webmaster Tools, open Sitemaps, choose to submit a sitemap, and enter
https://example.com/sitemap_index.xmlwith your own domain. Submit the index only. Bing follows it to the children, and when Yoast adds a new child later, Bing picks it up. Success: the sitemap appears in the list and moves from a pending state to success within a few hours to a day. Its URL count should come close to the number of posts and pages you publish. -
Make sure robots.txt names the sitemap. Bing also discovers sitemaps through the
Sitemap:line in robots.txt. Run this:curl -s https://example.com/robots.txt | grep -i sitemapExample output:
Sitemap: https://example.com/sitemap_index.xmlNo output means a physical
robots.txtfile in your web root is replacing the one WordPress generates. Add the line to that file by hand. -
Turn on IndexNow. The free version of Yoast does not send IndexNow pings. Yoast SEO Premium includes IndexNow and switches it on by default. If you have Premium, look for IndexNow in Yoast’s Site features list and confirm it is on. On the free version, install the IndexNow plugin that Microsoft Bing publishes on WordPress.org. Rank Math users get IndexNow in its Instant Indexing module instead. Run one IndexNow sender only, because two plugins mean two keys to keep straight. Success: the plugin’s settings show an API key, and publishing a post adds an entry to its submission log.
-
Test the IndexNow key and one ping by hand. Take the key from the plugin and fetch it. Replace the example key with yours:
curl -s https://example.com/0f3a9c27d14e4b6c8a5e7d2b91c4f608.txtExample output:
0f3a9c27d14e4b6c8a5e7d2b91c4f608Success: the key string comes back as plain text, identical to the filename without
.txt. Some plugins serve the key from a different address; their settings page shows which. Then send one URL yourself:curl -s -o /dev/null -w "%{http_code}\n" "https://www.bing.com/indexnow?url=https://example.com/new-post/&key=0f3a9c27d14e4b6c8a5e7d2b91c4f608"Example output:
202The code tells you what happened.
200means Bing accepted the URL.202means it was received and the key check is still pending.400means the request is malformed, often an unencoded character in the URL.403means Bing could not find the key file or its contents do not match the key.422means the URL does not belong to the host that owns the key.429means you are sending too often. -
Read Bing’s reports for a page. Give Bing a week or two after verification. Then open URL Inspection and enter one post URL. It shows whether the page is in Bing’s index, and the live test shows whether Bingbot, Bing’s crawler, can fetch the page from your server right now. Site Explorer shows a folder tree of every URL Bing has found, filterable by status. Search Performance shows clicks, impressions and position by query and page. Success: URL Inspection reports a post you expect to rank as indexed, and Site Explorer shows roughly as many URLs as your sitemap lists.
Is it Yoast or Bing?
When a page will not appear in Bing, settle the question on your own site first. The diagram shows the order.
Read what the page says about itself:
curl -s https://example.com/some-post/ | grep -Ei 'name="robots"|rel="canonical"'
Example output for a healthy post:
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
<link rel="canonical" href="https://example.com/some-post/" />
If the robots line says noindex, the cause is in Yoast. Check the Advanced tab in the post’s Yoast panel, where Yoast asks whether search engines may show this content. Then check the content type or taxonomy in Yoast SEO > Settings, and finally Settings > Reading in WordPress for the box that discourages search engines. If the canonical points to a different URL, Bing will credit that URL instead.
If both lines look right, check the response headers:
curl -sI https://example.com/some-post/ | grep -i x-robots-tag
No output is the good result. The X-Robots-Tag header carries the same instructions as the robots meta tag, but in the HTTP response. A line containing noindex comes from the server, a security plugin or a content delivery network (CDN), and it wins over Yoast’s markup. Finding accidental noindex headers in WordPress traces where those come from.
Only when all three are clean is it a Bing question. Run URL Inspection’s live test. If Bingbot gets a 403 or a timeout there, a firewall or security plugin is blocking it.
Validate it works
Check what the public site serves, not what the settings screens say. First, the verification tag:
curl -s https://example.com/ | grep -i msvalidate
Example output:
<meta name="msvalidate.01" content="3B7E91C0A4D25F6E8C1B0D9A72E4F3C5" />
Success: one line with name="msvalidate.01" and your code. No output means the tag is missing from what visitors receive, usually because a cache is serving an older copy. If your firewall blocks plain curl, add -A 'Mozilla/5.0'.
Next, the sitemap index:
curl -sI https://example.com/sitemap_index.xml | head -1
curl -s https://example.com/sitemap_index.xml | grep -o '<loc>' | wc -l
Example output:
HTTP/2 200
7
Success: a 200 status line, then a number equal to the child sitemaps Yoast listed in step 4. A 200 with a count of 0 is the empty sitemap problem covered in why Yoast returns a blank XML sitemap.
Last, in Bing Webmaster Tools: the site reads as verified, the sitemap shows success with a recent read date, and Site Explorer shows a tree instead of an empty page. Search Performance stays empty until Bing has crawled pages and shown them to searchers, which takes days to weeks.
Troubleshooting
Bing cannot find the meta tag after you saved it in Yoast. A page cache or a CDN is serving the page from before you saved. Purge every cache layer and rerun the msvalidate check. If an optimisation plugin removes head tags, switch to the DNS method.
The sitemap returns 404. Open Settings > Permalinks in WordPress and click Save Changes without changing anything. This rebuilds the rewrite rules the sitemap depends on. If it still fails, check that a second SEO plugin is not claiming the same address.
Verification disappears after a theme change. The code was probably pasted into the old theme’s header box, not into Yoast. Paste it into the Yoast Bing field so it survives future theme changes.
IndexNow pings return 403. The key file is missing or does not match. Fetch it with curl. A security plugin that blocks unknown .txt files, or a key regenerated during an update, are the usual causes.
Pages are listed as excluded in Bing. Run the Yoast-or-Bing checks above on two or three of them. Most excluded WordPress pages carry a noindex or a canonical pointing elsewhere.
When this is the wrong approach
If you want to know how people behave on your pages, Bing Webmaster Tools will not tell you. That is an analytics job, for a tool such as Microsoft Clarity or Google Analytics.
If Bing sends you very little traffic, do this setup once and move on. It takes under an hour, and the larger wins usually sit in page speed, internal links and the content itself. Those help Bing too. It pays more where your audience is desktop-heavy and works in the Microsoft ecosystem, such as many business and public-sector buyers, because Bing tends to carry more of their searches.
Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.