Results 1 to 4 of 4
  1. #1
    Join Date
    May 2007
    Posts
    1
    Plugin Contributions
    0

    Default Doh! Need Help With Meta Tags & Title

    I think I may have overwritten a file! I tried to change the Title on my Index page from "Zen Cart ..." I edited the meta_tags.php file that I found in: modules and then over-wrote the meta_tags.php file in: languages/english and languages/english/my_template (I thought they were all the same)

    I keep finding references to a meta_tags.php file that is apparently more detailed than the one I have now, and I'm quite confused.

    The title line on my main page now says "META_TAG_TITLE", even though the meta_tags.php says:


    // page title
    define('TITLE', 'Bright Stitch');
    // Site Tagline
    define('SITE_TAGLINE', 'Bringing You The Best In Counted Cross Stitch');
    // Custom Keywords
    define('CUSTOM_KEYWORDS', 'cross stitch counted pattern chart art photo fob scissor');


    Is this the wrong meta_tag.php file to be in: includes/languages/english/my_template??

    Thanks for help,
    Cheryl

  2. #2
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    help question Re: Doh! Need Help With Meta Tags & Title

    I am having a similar problem and have searched all over the forums and tutorials/FAQ for a resolution. Here is what happened to me. I had my website and shopping site operational and running, then had to switch hosts because of extensive downtime. I had backups of most of my php and html files that I had changed, but not the database. So I installed Zen-Cart 1.3.7 on my new host (still the same locations, shop.gouldcomputing.us) and then started uploading my changed files one by one, making sure each one was fine as I went along. I never got any PHP errors, but I noticed later that my title bar is showing "META_TAG_TITLE", no matter where I go on the shopping site (I have not had a chance to add a product back into this, but on any of the other pages it still shows just the "META_TAG_TITLE"). My meta_tags.php file in /english and english/classic are fine and define TITLE as "GouldComputing" and also SITE_TAGLINE, etc. I notice when I view page source on my main page or any other page that it shows the following:

    ------------------------------------------<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
    <head>
    <title>META_TAG_TITLE</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="keywords" content="META_TAG_KEYWORDS" />
    <meta name="description" content="META_TAG_DESCRIPTION" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="author" content="The Zen Cart&trade; Team and others" />
    <meta name="generator" content="shopping cart program by Zen Cart&trade;, http://www.zen-cart.com eCommerce" />

    <base href="http://shop.gouldcomputing.us/" />

    <link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet_css_buttons.css" />
    <link rel="stylesheet" type="text/css" media="print" href="includes/templates/classic/css/print_stylesheet.css" />
    </head>
    ----------------------------

    I investigated the html_header.php in template_default/common
    and from that it is picking up the CHARSET and HTML_PARAMS settings fine, but they are in english.php, not in the /english/meta_tags.php file.
    I cannot remember if my old host had 1.3.7 installed or 1.3.6 - could this be the key?
    Can anyone help with this problem? Nothing seems to work from all the other threads.
    If anyone needs any more info, please let me know. Thanks!

  3. #3
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Doh! Need Help With Meta Tags & Title

    I finally found the problem, posting it so that others with this may see.
    As can be seen from other threads, there are two different meta_tags.php files.
    The "larger" one is located under /includes/modules and the smaller one in which you define your site title, keywords, etc, is in /includes/languages/<your default language>/
    If you are using overrides, you would then copy the smaller file to /includes/languages/<your default language>/<your custom template>/
    If you are getting "META_TAG_TITLE" as your title in your browser bar, most likely you placed the smaller meta_tags.php file in an improper location.

  4. #4
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Doh! Need Help With Meta Tags & Title

    I have completed the custom meta tags for the individual products via the admin panel. However, I still get the same title on every page of my website.

    Why isn't the custom meta title tag showing up on the individual product pages?


 

 

Similar Threads

  1. Newbie Needs Help With Title Tag's & H1 & H2 Tags
    By hcd888 in forum General Questions
    Replies: 17
    Last Post: 9 Jun 2010, 09:02 AM
  2. Need Help with meta tags
    By weartmc in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Jul 2008, 02:39 PM
  3. Title & Meta Tags
    By kevinmc3 in forum Customization from the Admin
    Replies: 20
    Last Post: 30 Dec 2007, 02:43 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