Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 49
  1. #11
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    No I'm not trying to resolve anything for now, I was just wondering if the file was a only one line file, or if the line was to be added to a meta_tags.php file duplicated from another directory.

    Thanks

    Hubert

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Google - Verify site ownership

    Quote Originally Posted by hubert View Post
    Just a question about adding to meta_tags.php.
    Try putting the code into the file includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    do you just add this line or do you duplicate a meta_tags.php file then add the line ?
    Quote Originally Posted by hubert View Post
    No I'm not trying to resolve anything for now, I was just wondering if the file was a only one line file, or if the line was to be added to a meta_tags.php file duplicated from another directory.
    I'm not sure I understand.
    Is your question related to the google issues discussed in this thread, or related to making edits of override files?
    Have you already created an override file from a copy of the original?
    Which "line" are you wanting to add/edit?
    What problem are you trying to solve?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Thanks for following my foggy question DrByte :-)

    Pierre said
    Try putting the code into the file includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    Scrat replied that it works for him, but I haven't got any meta_tags.php file in includes/languages/english/MY_TEMPLATE/

    So I was wondering if I had to make a brand new blank file with only one line, or do I first have to take the content of another meta_tags.php file and then add the line to this file.

    No problem to solve just want to be a bit more precise.

    Thanks a lot
    Hubert

  4. #14
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Google - Verify site ownership

    Quote Originally Posted by hubert View Post
    ...but I haven't got any meta_tags.php file in includes/languages/english/MY_TEMPLATE/

    So I was wondering if I had to make a brand new blank file with only one line, or do I first have to take the content of another meta_tags.php file and then add the line to this file.
    No problem.

    Yes ... standard override procedure is ... you need to make a copy of the original file, and then apply to it the changes you want (edits or adds), saving the newly modified file in your override folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Quote Originally Posted by DrByte View Post
    No problem.

    Yes ... standard override procedure is ... you need to make a copy of the original file, and then apply to it the changes you want (edits or adds), saving the newly modified file in your override folder.
    Thank you Dr

    Hubert

  6. #16
    Join Date
    Aug 2007
    Location
    Tampa FL.
    Posts
    142
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    i am having the same problem, i put in the mata tag files and got an error i am not very good with php so could anyone tell me how to add it to metatags,
    it looks to me that all in matatags are called from another portion of the site and how would i define my tag.

    any help would be great
    thanks rich

  7. #17
    Join Date
    Jul 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Hey I've been having the same trouble and it's been driving me up the wall.

    I've tried putting the code in /includes/languages/english/meta_tags.php but apparently I'm doing it wrong because google still doesn't see it. The instruction were apparently a little to vague for me..

    Do I just put the google meta tag line into the file as is? : <meta name="verify-v1" content="blahblahblah"/>

    Because obviously if I do the php is going to have an error.. if I put it in before or after the php as is then it makes all the fonts on my site huge for some reason. If I put it in the form of the rest of the things in the meta_tags php: (define('blahblah', 'blah ');

    then everything works fine but google doesn't see it still.

    How is this so easily put in to make everything work fine and google see it?

    Thanks,
    Rylynn

  8. #18
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Google - Verify site ownership

    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 !


    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #19
    Join Date
    Jul 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Google - Verify site ownership

    Well now why couldn't somebody have had a simple answer like that from the get-go? lol

    Thanks a ton doc! That worked perfectly and took about 5 seconds. heh.

    Rylynn

  10. #20
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Google - Verify site ownership

    Edit: never mind. Thanks DrByte
    Last edited by jeking; 23 Oct 2007 at 03:31 AM.

 

 
Page 2 of 5 FirstFirst 1234 ... 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR