This is a discussion on Meta Tag Problem within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; All of my meta tag descriptions and keywords have the following <meta name="description" content="META_TAG_DESCRIPTION" /> <meta name="keywords" content="META_TAG_KEYWORDS" /> I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| All of my meta tag descriptions and keywords have the following <meta name="description" content="META_TAG_DESCRIPTION" /> <meta name="keywords" content="META_TAG_KEYWORDS" /> I thought oscmax 2.0 was supposed to fill this in automatically. I've looked at the meta_tags.php file and have been replacing some of the META_TAG_DESCRIPTION areas with my text but nothing makes a change on any of the pages. I go back and correct any of my changes when I see that nothing has worked. Can anyone provide some assistance on this? I've tried to find it in the guide but it's not there or I don't know where to look. Randomly changing things and hoping I hit upon the answer is not working for me. Please tell me what to do. I would prefer the meta tags be different for each page, but something would be better than nothing at this point. Thanks! Cherie |
|
#2
| |||
| |||
| whenever you see "META_TAG_DESCRIPTION" something in all caps it means that the define statement is NOT being run since those things are all defined in DEFINE statements. So, you need to look where META_TAG_DESCRIPTION is defined and see why that file is not being run. [I would start looking in /includes/meta_tags.php for the answer] Now, the next question is, just how important are meta tags to a page today? That is most likely a discussion for a thread in a completely different area.
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#3
| |||
| |||
| I installed a fresh copy of the meta_tags.php file and nothing changed. I have determined that I can go to the main_page.tpl.php and add my text where it says META_TAG_DESCRIPTION and it will actually show up. But I am assuming that this would defeat the dynamic meta tag functions and the meta decriptions and keywords would be the same for every page if I did this. Any suggestions? <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> |
|
#4
| |||
| |||
| Can anybody offer assistance? Please. |
|
#5
| |||
| |||
| Solved the problem! The folowing <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> was moved to after <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> resulting in no dynamic tags. I moved it back before all the meta statements and everything seems to work. I also found the info on how to edit the dynamic meta tags. I kept overlooking it because of how it was titled. It is under "how_to_remove_the_model_number_and_price_from_the _page_title.txt". Cherie |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| quick meta tag | michael_s | New osCommerce Contributions | 0 | 12-09-2007 04:11 PM |
| Meta Tag Controller - question | goofy | osCMax v1.7 General Mods Discussion | 4 | 02-21-2007 07:15 PM |
| Author Meta tag | Anonymous | osCMax v1.7 Installation | 1 | 05-28-2004 04:58 AM |
| Meta Tag Controler / Generator | Nout | osCommerce 2.2 Installation Help | 2 | 02-22-2004 09:28 AM |
| meta tag documentation for Max | foofoo | osCMax v1.7 Discussion | 7 | 10-29-2003 12:56 AM |