This is a discussion on Category description in meta tags? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Ok I have searched the forum to death, but cannot find any answer to this. Is there anyway to have ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Ok I have searched the forum to death, but cannot find any answer to this. Is there anyway to have the dynamic meta tags create description tags for the Category pages aswell? |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Ok so i'm now a bit chuffed with myself to finding the solution However I still need a bit of help stripping the html out of the category description which shows up in the meta tags. So heres my modified code for meta_tags.php PHP Code: PHP Code: PHP Code: PHP Code: Can anybody help me with this last bit? Pretty please? With sugar on top? |
|
#3
| |||
| |||
| Ok this is now sorted ![]() Feel free to close the thread! |
|
#4
| |||
| |||
| Could you please share your solution? Thanks |
|
#5
| ||||
| ||||
| We don't close threads unless they are over a year old. I am sure there are others that would benefit from your work on this, so in the spirit of open source, how about sharing your solution? After all, I shared my work with you (osCMax!)
__________________ Michael Sasek osCMax Developer
|
|
#6
| |||
| |||
| I dont have a problem with sharing my work, but due to the lack of responses, and the fact this has never been asked before I assumed this was of no interest to anybody. I'm no PHP expert, in fact more of a novice in every sense, but it was very easy to work out what needed doing by looking at the CONTENT_PRODUCT_INFO part of the meta_tag.php file. Anyway, for those that do want good SEO, follow these instructions. Open catalog/includes/meta_tags.php Find PHP Code: PHP Code: Last edited by Interceptor; 01-12-2008 at 11:32 PM. |
|
#7
| ||||
| ||||
| We have a ton of lurkers, so there is always interest even if nobody has an answer for you. Also, someone may come along weeks, months or years later, long after this thread is closed. Your post will help hundreds or thousands of osCMax users over the lifetime of the site. You should always share the solution, it is just the cool thing to do Pretty cool that three years from now, somebody may read your post, and you help them solve their problem without even knowing it. That is the gift that keeps on giving!
__________________ Michael Sasek osCMax Developer
|
|
#8
| |||
| |||
| Thank-you for posting this up as it saved me some time in locating and modifying the meta description tag for category pages. I changed it a little, but works out very nicely. Quote:
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easy Meta Tags - CUSTOM Product Tags for STS v4 | michael_s | New osCommerce Contributions | 0 | 11-26-2007 05:14 PM |
| Category Meta Tags | michael_s | New osCommerce Contributions | 0 | 04-13-2007 12:00 PM |
| Category Meta Tags | michael_s | New osCommerce Contributions | 0 | 03-18-2007 06:12 AM |
| meta tags, web site description advice? | lil-raskals | osCommerce 2.2 Modification Help | 0 | 09-24-2004 11:35 AM |
| Meta Tags | DiamondC | osCommerce 2.2 Modification Help | 2 | 01-20-2004 02:23 PM |