DrByte:
Rylynn, the combination of a couple different topics above makes things a bit confusing. In those cases, the right file to edit would be the html_header.php file.
HOWEVER ... there's an easier way that doesn't require editing any of your site core files !!
- Create a new file named jscript_googleverify.php
- Put this into it ... just the code you need for Google (likely just the ONE line) ... (do NOT use any <?php or ?> tags in this file):```
<meta name="verify-v1" content="blahblahblah"/>
> 3. Upload this new file into your custom template folder's jscript folder, like so:
> /includes/template/YOURTEMPLATE/jscript/jscript_googleverify.php
>
> This will cause that file's contents to be displayed inside the <head> tag of your site ... and you won't have to touch the default html_header.php file, making upgrades simpler !
>
> *
> NOTE: This will make the verification code show on every page of your site. However, since you only need the code in place for Google to read it ONCE, you can delete the new file again after Google has read it to verify your site once.*
Hi,
I have moved the jscript_googleverify.php file into the **/includes/modules/pages/index/** folder (on my test site) - this seems to work best for me as the verify meta tag now only loads on the home page - which I believe is all google requires: see [here](http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=35659) - it also says on that page "*Don't delete the tag from the page, as this will cause your site to become unverified*".
I just wanted to check that this is an acceptable way of doing it?
Thanks :smile: