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

    Default Meta Tags Being overruled by Includes Modules File

    I have edited meta_tags.php and it is being ignored. the site is showing HOME_PAGE_TITLE as the title of the page. The meta tags are showing as follows:

    <title>HOME_PAGE_TITLE</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="keywords" content="HOME_PAGE_META_KEYWORDS" />
    <meta name="description" content="HOME_PAGE_META_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" />

    I ran a search in developer's tool kit and this data is coming from includes/modules/meta_tags.php

    If I try to edit anything in that file, site is inoperative. All I want to to is have the data I entered in meta_tags.php appear. I have never encountered this problem before. Any ideas appreciated.

  2. #2
    Join Date
    Oct 2006
    Posts
    170
    Plugin Contributions
    0

    Default Re: Meta Tags Being overruled by Includes Modules File

    I just upgraded to 1.3.8 and am having the same issue! The titles are defined in my 'meta_tags.php' file, yet the site title is showing as HOME_PAGE_TITLE

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

    Default Re: Meta Tags Being overruled by Includes Modules File

    Are any of your meta tags showing up?

    I was on 1.3.7 and decided to upgrade. Before I load anything else up I may reinstall and go back to 1.3.7. I have several other sites on 1.3.7 and no issues.

  4. #4
    Join Date
    Oct 2006
    Posts
    170
    Plugin Contributions
    0

    Default Re: Meta Tags Being overruled by Includes Modules File

    OK, I found a solution on another thread - just add the following lines to your includes/languages/english/YOUR_TEMPLATE/meta_tags.php:

    PHP Code:
    // Home Page
    define('HOME_PAGE_TITLE''New Title Between These Quotes'); 
    Done and done!

  5. #5
    Join Date
    Oct 2007
    Posts
    111
    Plugin Contributions
    0

    Default Re: Meta Tags Being overruled by Includes Modules File

    Ok, that fixed just the title. I still have no meta tags. I wanted to enter my meta tags too but those are also being overridden. I may try to use that same script to force those too.

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

    Default Re: Meta Tags Being overruled by Includes Modules File

    It worked. My meta tags were fine on other pages, just not on home page. I took your solution above and applied it to:

    HOME_PAGE_META_KEYWORDS
    HOME_PAGE_META_DESCRIPTION

    etc. and so far so good. Thanks a bunch. I will probably stay on 1.3.8 for now.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 27 May 2015, 09:32 PM
  2. Replies: 1
    Last Post: 27 Nov 2008, 02:27 PM
  3. Product Meta Tags being overridden?
    By Kokonutmama in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Nov 2007, 09:49 PM
  4. Replies: 3
    Last Post: 15 Jul 2007, 05:38 AM

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