Skip to content

Commit

Permalink
Add Bing site verification page
Browse files Browse the repository at this point in the history
Add XML file to public pages and special routes.

The file specifies a verification code generated by Tara Stockford for
https://www.gov.uk. It will verify our ownership of the site in Bing
Webmaster Tools:
https://www.bing.com/webmaster/help/how-to-verify-ownership-of-your-site-afcfefc6

This will help us to improve user journeys from Bing to GOV.UK.

https://trello.com/c/gBIgYRaV/174-set-up-bing-webmaster-tools
  • Loading branch information
suzannehamilton committed Jul 21, 2017
1 parent 118a588 commit 80b0f03
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/tasks/publishing_api.rake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ namespace :publishing_api do
They should not be removed as that can cause the site to become unverified
See https://support.google.com/webmasters/answer/35658",
},
{
base_path: "/BingSiteAuth.xml",
content_id: "d793dba8-4ff7-4a3f-a6d3-54f52b7bd259",
title: "Bing site verification",
description: "This file allows Bing to verify ownership of a site.
It should not be removed as that can cause the site to become unverified
See https://www.bing.com/webmaster/help/how-to-verify-ownership-of-your-site-afcfefc6",
},
{
base_path: "/apple-touch-icon.png",
content_id: "cdc36458-74d4-42a7-86c8-221e03877dfc",
Expand Down
4 changes: 4 additions & 0 deletions public/BingSiteAuth.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<users>
<user>66F6ADB7C4481C94247D1E08FA04C6A4</user>
</users>

0 comments on commit 80b0f03

Please sign in to comment.