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
Frank
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
/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
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
- 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
Thank you,this was the easiest way add to the meta tag.
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
- JL
Thank you so much for posting this, AND in layman's terms. You just ended a couple of wasted hours! =]
Thanks for this, have been working at this for a couple of hours, read this and sorted in 2 secs.
Nice One.
Nice One.
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.
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.