Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 49
  1. #21
    Join Date
    Feb 2009
    Posts
    1
    Plugin Contributions
    0

    Default Where Do I add the Google meta tag to verify site ownership

    Zen cart 1.38a

    I searched the forum and couldn't find my answer.

    Which file do I add the google site verification meta tag to?

    I tried uploading the google verification file and I could get that working either.

    Any help would be great.

    Steve

  2. #22

    Default Re: Google - Verify site ownership

    Quote Originally Posted by DrByte View Post
    ...

    1. Create a new file named jscript_googleverify.php
    2. 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):
    Code:
    <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 !
    I recently had to update my meta verification, I looked for hours trying to find where i put that tag. triple checked html_header.php & metatags.php. then i came across this thread,
    thanks dr. for having all the BEST advise

  3. #23
    Join Date
    Sep 2006
    Location
    U.K.
    Posts
    162
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Quote Originally Posted by DrByte View Post
    <font color=&quot;Gray&quot;>
    1. Create a new file named jscript_googleverify.php
    2. 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):
    Code:
    <meta name=&quot;verify-v1&quot; content=&quot;blahblahblah&quot;/>
    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 !
    This worked fine for me also, many thanks.
    Stephen.
    - ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.

  4. #24
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Quote Originally Posted by DrByte View Post
    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 !!

    1. Create a new file named jscript_googleverify.php
    2. 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):
    Code:
    <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 !
    Very good, however, this puts it in every page on the site, not just the home page. Goggle's instructions are: " . . . to add a meta tag with a unique value to your site's home page." (emphasis added)

    Is there some way to just put it on the home page?

    Thanks!

  5. #25
    Join Date
    Apr 2009
    Posts
    80
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    This is the way I went, and it worked just fine. Thanks!

  6. #26
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Thank heavens for DrBytes! What a time saver!

    @Zean - from my experience with Google, all that is required is that it is there long enough for google to index it once. That is long enough for google to know you actually own the site (or that you can access it to modify it), and then you can remove it without any issues.

  7. #27
    Join Date
    May 2008
    Location
    UK
    Posts
    404
    Plugin Contributions
    0

    Default Re: Where Do I add the Google meta tag to verify site ownership

    Steve did the verification method work for your site ???

  8. #28
    Join Date
    May 2008
    Location
    UK
    Posts
    404
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Hi

    I am using cherry Zen template and i didnt have the Jscript in the template folders.

    So i created the jscript folder and then i placed the jscript_googleverify.php file into that.

    I then went to google to request verification but nothing happened.

    Am i doing something wrong ...?

    Please help


    Thanks

  9. #29
    Join Date
    Apr 2009
    Location
    Portland, OR
    Posts
    106
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Quote Originally Posted by DrByte View Post
    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 !!

    1. Create a new file named jscript_googleverify.php
    2. 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):
    Code:
    <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 !
    WOW! this is so much easier then any other solutions. it is only took me less then a sec to get it done.
    Thank you so much!

  10. #30
    Join Date
    Dec 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Right, this issue has driven me mad all day. If you are using a template other than the classic, you need to create the jscript folder. And add the file as described.

    To find out a bit more of what the file is doing you can go to:
    http://www.example.com/docs/read_me_jscript.html , where example is your domain name.

    For example "www.nmfurniture.com/docs/read_me_jscript.html"

    I also didn't notice the code changes every time you request it. So double check google is still looking for the code you are using.

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. v151 verify ownership
    By evilsorcerer1 in forum General Questions
    Replies: 1
    Last Post: 2 Jun 2013, 04:41 AM
  2. how to verify google
    By rayleighstamps in forum General Questions
    Replies: 1
    Last Post: 3 Jul 2009, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg