Registering my website with Bing
PermalinkI am trying to register my website with live, and in order to verify my identity bing requests:
add a <meta> tag containing the authentication code to the <head> section of your default webpage.
<meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" />
which folder should I put the above tag in...please help.
Jay

Unexpected Error...any advice is greatly appreciated.
I'm still getting an unexpected error. Here is the tag I pasting:
<meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" />
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<!-- add your meta tags here -->
<!-- Site Header Content //-->
<style type="text/css">@import "<?php echo $this->getStyleSheet('main.css')?>";</style>
<style type="text/css">@import "<?php echo $this->getStyleSheet('typography.css')?>";</style>
<!--[if lte IE 7]>
<link href="<?php echo $this->getThemePath()?>/css/patch_tcc.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php Loader::element('header_required'); ?>
</head>
<body>
<div class="page_margins">
<div id="topnav">
<!-- start: skip link navigation -->
<a class="skip" title="skip link" href="#navigation">Skip to the navigation</a><span class="hideme">.</span>
<a class="skip" title="skip link" href="#content">Skip to the content</a><span class="hideme">.</span>
<!-- end: skip link navigation -->
<?php
$uinfo = new User();
if($uinfo->IsLoggedIn()){ ?>
<a href="<?php echo $this->url('/login/-/logout')?>"></a><a href="<?php echo $this->url('/profile')?>"></a><a href="<?php echo $this->url('/imprint')?>"></a>
<?php
} else { ?>
<a href="<?php echo $this->url('/login')?>">Login</a><a href="<?php echo $this->url('/register')?>"></a><a href="<?php echo $this->url('/imprint')?>"></a>
<?php }?>
</div>
<div id="border-top">
<div id="edge-tl"></div>
<div id="edge-tr"></div>
</div>
<div class="page">
<div id="header">
<?php
$a_header = new Area('Header');
$a_header->display($c);
if ($a_header->getTotalBlocksInArea() > 0) { ?>
<div class="divider"></div>
<?php }
if ($c->isEditMode()) { ?>
<div style="min-height: 80px">
<?php } ?>
</div>
<?php if ($c->isEditMode()) { ?>
</div><!-- end isEditMode //-->
<?php } ?>
<div id="nav">
<!-- skiplink anchor: navigation -->
<a id="navigation" name="navigation"></a>
<div class="hlist">
<!-- main navigation: horizontal list -->
<?php
$a_headerNav = new Area('Header Nav');
$a_headerNav->display($c);
if ($a_headerNav->getTotalBlocksInArea() > 0) { ?>
<div class="divider"></div>
<?php } ?>
</div>
</div>
I created a folder on the c5 server then uploaded the xml file then tried to access it via my browser as said in the instructions but I keep getting:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
When I added “ <meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" />” to the attributes of my home page, I actually see the code on the page when I publish the changes. When I go back to bing to verify ownership, I click verify and on the same bing screen “Error” (in orange letters) appears and underneath it “Unexpected Error”. When I click continue on the same bing page, I am taken back to the very ownership page of Bing. Even with this error, my page loads without a problem however, I see: “ <meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" />” at the top of my page (and so does the viewing public). I hope that I was able to give you a visual picture of my issue.
What version of Concrete5 are you running?
And can you post a link to the site?
http://www.heres2goodfriends.com
1. When you put
<meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" />
in header.php you probably put it inside of a php section
<?php // some other php stuff <meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" /> // maybe some more stuff here ?>
That's bad and you'll get that error. Take it out. Take everything you put in header.php out.
2. Go to the home page of your site. The one you get when you go to http://www.example.com Replace "http://www.example.com" with your site.
3. Click "Edit Page" in the top left.
4. Click "Properties"
5. Click the "Custom Attributes" tab
6. From the "** Add Attribute" dropdown select "Extra Header Content"
7. paste
<meta name="msvalidate.01" content="580F68540AF14308C9E7F7662A641946" />
into that box.
8. Click "Save"
9. Click "Exit Edit Mode"
The error that I am receiving appears after I edit my home page attributes (take a look at my previous response).
Thank you again.
Add Image
Add File
Insert Link to Page
Customize Toolbar
Go to Dashboard -> Pages and Themes -> Attributes. Click "Header Extra Content", change the "Input Format" dropdown to "Plain Text", click "Update Attribute". Now go back to the home page and try setting the custom attribute again.
but now I'm getting: Ownership Verification Failed from bing..
anyideas..
Well now it's a problem with Bing, not your site. Perhaps the code you got expired? I'd try getting a new code from them.
It is greatly appreciated.