Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Where Should Meta Elements Be Placed?

    OK....

    I see that ZC generates a title for all pages, and meta tags, as as well as descriptions, may be added easily through the admin.

    I was wondering....where should I place any other meta elements that I require to be processed on ALL pages?

    Is the Footer.php file a good place? I am guessing that that will work, but i wonder if there is another place that may be more appropriate.

    Thanks, and have a good weekend everyone!!!!!!!!


    Donn

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Where Should Meta Elements Be Placed?

    includes / languages /english , meta_tags.php

    you can define your home page meta tags there , if you look closely you will see that you can define metatags for other pages there , such as contact us , EZPages , etc..

    also , for categories / products , you can create metatags from with in admin section .. by clicking on radiation icon.

    hope this helps out a bit .

  3. #3
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: Where Should Meta Elements Be Placed?

    Quote Originally Posted by tony_sar View Post
    includes / languages /english , meta_tags.php

    you can define your home page meta tags there , if you look closely you will see that you can define metatags for other pages there , such as contact us , EZPages , etc..

    also , for categories / products , you can create metatags from with in admin section .. by clicking on radiation icon.

    hope this helps out a bit .
    Thanks, Tony....

    I found the 'favicon.ico' option on the meta_tag.php file, so I set up my favicon.
    Thanks...I couldn't find that either!!

    But the rest of the meta_tags.php file seems to be exclusively for keywords, descriptions, and titles.

    How do I add other sorts of meta tags, that AREN'T the desciprion or keywords?

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Where Should Meta Elements Be Placed?

    can you give me example of other meta tags ?

  5. #5
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Where Should Meta Elements Be Placed?

    I was wondering....where should I place any other meta elements that I require to be processed on ALL pages?

    Is the Footer.php file a good place? I am guessing that that will work, but i wonder if there is another place that may be more appropriate.
    Meta elements of any kind cannot reside in the footer... They have to be in the <head></head> of the document.

    You would additional head elements in the template override for includes/templates/your-template/common/html_header.php

    But be careful, much of that file is dynamic and easy to break apart when adding other elements.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  6. #6
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: Where Should Meta Elements Be Placed?

    Quote Originally Posted by tony_sar View Post
    can you give me example of other meta tags ?
    There are a few others, such as Author, Classification, Copyright, Rating, Robots, and more.....


    Quote Originally Posted by mprough View Post
    Meta elements of any kind cannot reside in the footer... They have to be in the <head></head> of the document.

    You would additional head elements in the template override for includes/templates/your-template/common/html_header.php

    But be careful, much of that file is dynamic and easy to break apart when adding other elements.

    ~Melanie
    Thanks Melanie....I actually realized after typing the above post that the footer was within the <body> section of the document, and therefore not a place (at all) to stick any meta tags.

    I then set about trying to find PHP files containing the <head> tag, but I left for a few hours, and you responded before I could even search for the correct file.

    Thank you for your assistance! You surely saved me much time I can now spend being stumped by other ZC stuff...
    Donn
    Last edited by Donn; 14 Feb 2009 at 06:44 AM.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 28 Oct 2013, 11:22 PM
  2. Where could I have placed a JavaScript file??
    By Donn in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2010, 09:19 PM
  3. removing elements - where??
    By stuartforrest in forum General Questions
    Replies: 0
    Last Post: 28 Nov 2006, 12:56 PM
  4. Where do my head and body elements go?
    By cosmocanuck in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Sep 2006, 10:33 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