Skip to Content

No Bing Webmaster verification tag

What Is This Issue

This issue checks whether your website has a valid Bing Webmaster Tools verification method in place, typically via a <meta name="msvalidate.01"> tag on the homepage.

A passing implementation includes one of the following verification methods:

  • A <meta name="msvalidate.01" content="[token]"> tag in the homepage <head>
  • A BingSiteAuth.xml file at the domain root

Example of correct implementation:

<meta name="msvalidate.01" content="A1B2C3D4E5F6789012345678ABCDEF01" />

Without verification, you cannot access Bing Webmaster Tools data including crawl reports, keyword performance, and backlink analytics.

Why Is This Important

Bing Webmaster Tools verification is important for SEO monitoring, especially for reaching Bing and Yahoo users:

  • Rankings: Bing has a significant search market share (especially on Windows devices). Access to Bing Webmaster Tools helps you optimize for this audience.
  • Indexability: Bing Webmaster Tools shows which pages are indexed in Bing, helping identify indexation issues specific to Bing.
  • Crawlability: The Crawl Information report shows how Bing crawls your site, helping identify crawl issues.
  • Backlink data: Bing provides backlink reports that can complement Google Search Console data.
  • Keyword performance: Understanding which keywords drive traffic from Bing can inform your SEO strategy.

Resolving this issue improves your SEO health score by enabling access to Bing-specific SEO data and ensuring you can monitor and optimize your site’s presence in Bing Search.

How XeoPix Detects This

XeoPix performs the following checks to detect this issue:

  1. Homepage fetch: The crawler fetches the homepage of the registered site (following redirects to the canonical URL).

  2. Meta tag search: It looks for a <meta> tag with the attribute name="msvalidate.01" in the <head> section.

  3. Token validation: If the tag is found, XeoPix:

    • Extracts the content attribute value (the verification token)
    • Validates the token format (Bing tokens are 32-character hexadecimal strings)
  4. Alternative method detection: The crawler also checks for:

    • BingSiteAuth.xml file at the domain root (checks HTTP status)
    • Whether the XML file token matches the meta tag token (if both exist)
  5. Pass/Fail determination:

    • Passes: If at least one valid verification method is detected (meta tag or XML file)
    • Fails: If no verification method is found, or if the detected method is invalid

The detection focuses on whether the site is verifiable by Bing Webmaster Tools, not on whether the specific token matches a particular account.

How To Fix

Follow these steps to verify your site with Bing Webmaster Tools:

  1. Add your site to Bing Webmaster Tools: Go to Bing Webmaster Tools  and add your website property.

  2. Choose a verification method (any one of these):

    Method 1: HTML Meta Tag (Recommended)

    • In Bing Webmaster Tools, select the “Meta tag” verification method
    • Copy the provided meta tag (e.g., <meta name="msvalidate.01" content="...">)
    • Paste it into the <head> section of your homepage
    • Redeploy your site.

    Method 2: XML File Upload

    • Download the BingSiteAuth.xml file from Bing Webmaster Tools
    • Upload it to the root directory of your website
    • Ensure it returns HTTP 200 when accessed at https://example.com/BingSiteAuth.xml
  3. Verify in Bing Webmaster Tools: Click “Verify” in Bing Webmaster Tools to confirm the verification method is working.

  4. Monitor verification status: Periodically check that verification is still active, especially after site redesigns or migrations.

Note: Bing Webmaster Tools verification is separate from Google Search Console verification. You should verify your site with both search engines.

What We Store

Storage Level

Page Level — This issue is evaluated for each individual URL.


Database Table / Prisma Model

PageHtmlHeadAudit


Stored Fields

FieldTypeDescription
bingVerificationValueString?The content attribute of the Bing verification meta tag

Detection Dependencies

  • The following data sources are required to evaluate this issue:
  • HTML Document — The crawler parses the HTML head section to find the Bing verification meta tag
  • Meta Tag Extraction — The <meta name="msvalidate.01"> tag is extracted

Examples

Example 1: Correct Implementation with Meta Tag

Scenario: A properly verified site with meta tag verification.

Correct State (Passes):

<head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="msvalidate.01" content="A1B2C3D4E5F6789012345678ABCDEF01" /> <title>Home Page</title> </head>

Example 2: Missing Verification

Scenario: Site has no Bing Webmaster Tools verification.

Problematic State (Fails):

<head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Home Page</title> </head>

Why it fails: Without verification, you cannot access Bing Webmaster Tools data.

Corrected State (Passes):

<head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="msvalidate.01" content="A1B2C3D4E5F6789012345678ABCDEF01" /> <title>Home Page</title> </head>

Example 3: Invalid Token Format

Scenario: Verification meta tag has invalid token.

Problematic State (Fails):

<head> <meta name="msvalidate.01" content="invalid-token" /> <title>Home Page</title> </head>

Why it fails: The token format is invalid. Bing verification tokens are 32-character hexadecimal strings.

Corrected State (Passes):

<head> <meta name="msvalidate.01" content="A1B2C3D4E5F6789012345678ABCDEF01" /> <title>Home Page</title> </head>

Example 4: Using XML File Verification

Scenario: Site uses XML file verification instead of meta tag.

Correct State (Passes):

  • BingSiteAuth.xml file exists at https://example.com/BingSiteAuth.xml
  • File returns HTTP 200 when accessed
  • File contains the correct verification token

Example 5: Both Methods Present with Conflicting Tokens

Scenario: Both meta tag and XML file exist but with different tokens.

Problematic State (Fails):

<head> <meta name="msvalidate.01" content="TOKEN1..." /> </head>

And https://example.com/BingSiteAuth.xml contains TOKEN2...

Why it fails: Conflicting tokens can cause verification to fail if one method is removed.

Corrected State (Passes):

  • Update both methods to use the same token
  • Or remove one method and keep only the other

Unit Test

Test File

__tests__/seo-audit-checks/htmlHeadTags/issue-109-meta-name-msvalidate.test.js

Purpose

Validates the detection of a missing Bing Webmaster Tools verification meta tag in the HTML <head>. Supports both msvalidate.01 and bing-site-verification name values. Ensures pages are flagged only when both possible tag names are absent.

Tested Function

runHtmlHeadTags() from toggleGroups/htmlHeadTags.js

Issue Information

  • Issue Number: 109
  • Issue Code: META_NAME_MSVALIDATE
  • Toggle Group: htmlHeadTags

Test Scenarios

Positive Test Cases

  • Page has <meta name="msvalidate.01" content="verification-code-123"> — no issue reported
  • Page has <meta name="bing-site-verification" content="verification-code-123"> — no issue reported
  • Page has <meta name="msvalidate.01" content=""> (empty content but tag present) — no issue reported
  • Verification code with special characters (abc123_xyz-456) — no issue reported
  • Malformed HTML with either tag present — no issue reported, no crash

Negative Test Cases

  • Page has neither msvalidate.01 nor bing-site-verification meta tag — issue reported with message "Bing site verification meta tag is missing"

Boundary Cases

None present.

Edge Cases

  • Empty HTML (<html></html>): issue reported (Bing verification tag is missing)
  • Malformed HTML: function handles without crashing
  • Empty content: content="" is considered present, so no issue reported
  • Two possible tag names: the test validates that either msvalidate.01 or bing-site-verification triggers a pass

Expected Outcome

Pass

The issue should be reported when:

  • Neither msvalidate.01 nor bing-site-verification meta tag is present

Fail

The issue should not be reported when:

  • Either msvalidate.01 or bing-site-verification meta tag is present
  • The tag is present with any content value (including empty)
  • The verification code contains special characters

Validation

  • Correct detection when both possible Bing verification tags are absent
  • Correct handling when either msvalidate.01 or bing-site-verification is present
  • Graceful handling of malformed HTML
  • Special character support in verification codes
  • Cache mechanism prevents duplicate issue entries on repeated calls
  • toggleGroups/htmlHeadTags.js
  • issueCodes.js

Coverage Summary

  • Positive cases: 4 (msvalidate.01, bing-site-verification, empty content, special chars)
  • Negative cases: 1 (both tags missing)
  • Edge cases: 3 (empty HTML, malformed HTML, empty content)
  • Cache validation: 1

References

Last updated on