|Hello VM fans,|
I have created a Metadata HACK for VM (tested 1.1.4 w/ J1.5). If you want better seo value, and/or have lots of products, you will NEED THIS for automatic and unique metadata / metatag generation of meta title, meta description, meta keywords, and starting from v1.7, supports most all other metatags including CANONICAL![/b]
1. This hack will auto-generate a better Title, Meta Description, Meta Keywords set, Meta Abstract, and Meta Subject, UNIQUE to each product and category. Likewise, you can now add the Meta Canonical Tag, unique to each product and category. Also supports adding tags like:
- Overwrite Joomla Meta Generator Tag
- Meta Classification
- Meta Author
- Meta Organization
- Meta Copyright
- Meta Country
- Meta Content-Language
- Meta Language
- Meta Designer
- Meta Comments
- Meta No-Email-Collection
2. You can let it automatically run it's course and generate this info dynamically, or you can use the dynamic output to build a base then edit the output for each product and/or category.
3. Instructions are included on the VM admin add/edit product page (first tab), or the add/edit category page (first tab).
This is a hack, so you will need to modify or replace 6 files:
You will need to run the metadata_hack.sql included as well. This:
Adds five new columns (fields) to jos_vm_product
Adds five new columns (fields) to jos_vm_category
Adds new table jos_vm_product_metakeys
Adds new table jos_vm_category_metakeysNote:
If you did not use the "jos" naming convention on your database, please update this before running the script.6.
Comes with an sql to uninstall hack database changes. Comes with files to overwrite hack files should you want to remove.NOW FOR THE BEEF BEHIND THE HACK:A.
If you have a store running and install this hack, you don't have to do a thing if you so wish. You will see the changes are instant on live site, and you will have, UNIQUE TO EACH PRODUCT AND CATEGORY, extremely relevant, accurate, complete, and better arranged TITLE, META DESCRIPTION, META KEYWORDS, META ABSTRACT, META SUBJECT.B.
2 are two global settings groups. 1, global settings for products. 2, global settings for categories. You can access the global settings for each type respectively from any product or category VM admin add/edit page. Global settings include: Global appends to title, description and keywords; badwords; turn manual edit on/off; number of keywords to generate; etc.C.
If you want to get even more hands on then what the system does automatically, then you can turn on the global manual edit param, which allows you to view and edit the dynamically created tags individually, make global appends, etc. In other words, the system will generate a great base for you to work off of, rather than starting from scratch for each product/category. Most likely, you won't even need to use this feature. If you do, let me know what you needed it for so I can make it better.D.
The system comes with a word filter (like a bad word filter) so you can exclude words you know you do not want in your keywords (like, the, of, for, if). I have included a fairly extensive set already.E.
I won't get much more detailed here as to how the system generates the tags, but you can read more within each add/edit category/product page where my instructions reside. The system does use a systematic culmination of product name, category name, product short and full description, category description, parent category, child products
, and whatever global or manual overrides you may make. Important to note: the more you have completed above listed fields, the better your auto- populate and append will perform.Screenshot of admin panel metadata tab:
HAVE FUN! RELIEVE SOME SEO STRESS AND BE VISIBLE!
1. Report any bugs here.
2. Request additional features here.
3. Give comments of any kind... I would like your feedback.
using vm1.1.3 see post #32 by joenist99. Or, for pre vm1.1.4 versions, you should keep your original files and add my code within each file to the appropriate locations. All added code is commented (search for METADATA).http://forum.virtuemart.net/index.php?topic=65697.msg219413#msg219413Note:
If your config file is not saving in product and category metaforms please check the solution here (post #49 by me). Fixed in v1.3: http://forum.virtuemart.net/index.php?topic=65697.msg220321#msg220321Note:
For those using sh404SEF, or a similar SEF which tries to attempt metadata support, you will need to turn off the metadata aspect of it, since this hack injects metadata changes before other components will (like sh4040SEF), hence being overwritten. See this:http://forum.virtuemart.net/index.php?topic=65697.msg224641#msg224641Note:
If your using CSVI and already have a metadata set you want to use as well, check out this post by Jimvertical. http://forum.virtuemart.net/index.php?topic=65697.msg229786#msg229786Note:
If your using Joomfish Multilanguage, check out this post by ningpa. http://forum.virtuemart.net/index.php?topic=65697.msg238624#msg238624[UPDATE] 01-30-2010
-> download v1.2 [UPDATE] 02-05-2010
-> download v1.3
- Fixed potential problem of forms/pages not using/saving metakeys config files/database entries. See post for more info: http://forum.virtuemart.net/index.php?topic=65697.msg220321#msg220321
- Added support for appending key PHRASES
- Added 2nd field to separate appending title and description. Now title has it's own append, as does description.
- Files modified: All files, including sql, modified.
-> download v1.4
- Added option to PREpend category name PHRASE and/or parent category name PHRASE to category keywords. A global param, configurable in admin category add/edit.
- Added option to append product name PHRASE and/or parent category name PHRASE to product keywords. A global param, configurable in admin product add/edit.
- Files modified: All files, including sql, modified.
-> download TabMetaData.zip[UPDATE] 03-02-2010
-> download v1.5
- Fixed extra dash "-" after categories with no parent categories
- Added TabMetaData so all Metadata is controlled in single tab
- Now have option to include SUB-category names in Title and/or Description of parent categories.
- Added additional keyword support for categories, to include names of subcategories in keyword generation of parent categories.
- Files modified:
-> download v1.6
- Fix: Minor update in commenting of hacked code (metatab name). Not necesary to download if you already have v1.5 working.
- Files modified: product.product_form.php
-> download v1.7
- Minor fix in redundant $document calls
- Added support to define Canonical URL Metatags for all category and products
- Added support for Unique Abstract and Subject Meta Tags
- Added support to overwrite default Joomla Meta Generator tag
- Added support to for Metatags like: Classification, Author, Organization, Copyright, Country, Content-Language, Language, Designer, Comments, No-Email-Collection
- Files modified: all files modified.
- If you already have this hack installed, there is an additional .sql for updating database to current version. Just use the .sql update and overwrite all files, as they have all changed.
-> download vm1.1.5 v1.7[UPDATE] 09-22-2011
-> download vm1.1.4 v1.7_multiPlease take a minute of time to leave a review here: http://extensions.virtuemart.net/index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=6&sobi2Id=328&Itemid=If you like or found useful, please donate at http://www.paypal.com to email@example.com
[attachment cleanup by admin]