Adding Google Meta tag

Permalink 1 user found helpful
I trying to use google webmaster tools but when i add the meta tag failes verify? Attach screens. Seems C5 is rewriting the content? not sure.

Frank

2 Attachments

wizardontherun
 
frz replied on at Permalink Reply
frz
just because you add a custom attribute to a page type, doesn't mean it's going to show up in the header area of that page automatically.

My suggestion is to just dump the empty HTML file they want in your root directory - it's the easiest way to validate google webmaster tools.
Tony replied on at Permalink Reply
Tony
yeah, you've got to add that code to the actual theme's header html. depending on how you theme's files are structured, you may have to put it here:
/themes/yourThemeFolder/elements/header.php
or if they didn't break out the header into a seperate file, then just add it to:
/themes/yourThemeFolder/yourHomePageType.php
Eugenedenoes replied on at Permalink Reply
I got it for you,

- Open your 'Dashboard'
- Open 'Sitemap'
- Click 'Home'
- Click 'Properties'
- Click 'Custom attributes'
- From the drop-down menu click 'Header extra content'
- The field will appear at the bottom of 'Custom attributes'
- Paste your meta tag and save
- Verify with Google Webmaster
- Done
rondoesitall replied on at Permalink Reply
Thank you,this was the easiest way add to the meta tag.
jlackman replied on at Permalink Reply
Thanks, this worked for me in a pinch. Usually I use the file when I'm on my correct laptop, but I was caught traveling, and this allowed me to verify a site using this process quickly and easily to get in in Webmaster Tools.

- JL
HSelectricians replied on at Permalink Reply
Thank you so much for posting this, AND in layman's terms. You just ended a couple of wasted hours! =]
stephenlaw replied on at Permalink Reply
stephenlaw
Thanks for this, have been working at this for a couple of hours, read this and sorted in 2 secs.

Nice One.
benmorris replied on at Permalink Reply
Followed your advice and it didn't work...but then realised I needed to upload the code from Webmasters "alternate methods" section, click on HTML tag and copy the code there. NOT the HTLM file upload code on the "recommended methods" page.