My meta tags keywords & description are the same on my homepage. I tried to find where this is but am having no luck. Check the source here http://www.machomanjack.com/store
My meta tags keywords & description are the same on my homepage. I tried to find where this is but am having no luck. Check the source here http://www.machomanjack.com/store
They are exactly as the code works... built dynamically from your categories and custom content.... and change according to which page/product/category you're viewing.
What exactly were you wanting it to do? and what did you want on other pages?
.
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.
It seems all other pages are ok except the homepage (index) I want the description to be the description - not keywords.
Anybody know about this? Im trying to submit to search engines and sites - but I have now correct description. Is there a fix for this?
Ed
1. open your /includes/languages/english/YOURTEMPLATE/meta_tags.php
2. add a new line anywhere between the <?php and the closing ?> which says:
(substituting blah blah blah with your preferred home-page-only description, naturally)PHP Code:define('MY_IMPORTANT_HOME_PAGE_DESCRIPTION', 'blah blah blah blah');
3. edit /includes/modules/YOURTEMPLATE/meta_tags.php
around line 138 you have:change that to:PHP Code:define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . str_replace(array("'",'"'),'',strip_tags(HEADING_TITLE)) . SECONDARY_SECTION . KEYWORDS);
4. Submit to search engines and watch closelyPHP Code:define('META_TAG_DESCRIPTION', MY_IMPORTANT_HOME_PAGE_DESCRIPTION);
.
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.
Thank you very much!! Tat did the trick.
Worked perfectly - now- can I do something similar for the main page keywords???
Thanx!
Last edited by DesignbyDemeter; 18 Jul 2006 at 02:47 PM.
Ok... that fixed my problem... well sort of.. the description part worked but the most of the keywords are selected by ZEN... whatever I put in the catorgory menu will show up at keywords... I can add them myself but ZEN just adds them to the end of the ones it put in itself... makes sense ??
Have a look at my site exampe but in this search http://www.submitexpress.com/ go to META TAG ANALIZE and type in my page . www.timeoutmassage.com.au/zen and look at the Keywords... most of them are the menus and MY keywords are added on the end....
I want to add ALL keywords... do not want ZEN to do it for me..
Ta
Dave
Evening all, can anyone help?
I dont have the metatags.php in includes/modules/mytemplate. I also dont have it in includes/modules/classic.
Any ideas on this? Need to edit my site desciption which displays on google. Have amended it in languages/english/mytemplate/metatags but cant get the 2nd part of the above solution sorted.
Any info greatly appreciated!
Many thanks
I think this is what you want to do:Originally Posted by ryangsoton
Copy it from /includes/modules/meta_tags.php and then create /includes/modules/YOURTEMPLATE/ and upload the modified meta_tags.php file there.