Meta-Tags

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Meta-Tags

Post by niall08 » Tue Jan 27, 2009 5:40 am

I've been looking at implementing and controlling meta-tags, and from what I've seen, its a bit of a mess..

I've implemented the product meta-tag aspx page provided by the wiki http://wiki.ablecommerce.com/index.php/ ... ta_tags%3F - I've even extended the code in the wiki to remove the default title tag for products - I've edited the pagehelper.cs and various other pages and controls (product.aspx, conlib/categorygridpage2.ascx) to call a simple function to append some text onto the end of the page title for SEO purposes..

But implementing changes for meta tags for the homepage (and other static pages) is proving to be a bridge too far - its just so difficult and time-consuming to make this user-friendly for non-IT people.

Has anyone any useful tips for customising meta tag implementation across the site, rather than allowing some types of pages to control meta tags through bespoke controls, while others use the scriptlet functionality? Or is that the only solution - telling a client that pages with dynamic content (e.g. products) can have there meta tags controlled THIS way, while other pages have to be edited THAT way?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Meta-Tags

Post by mazhar » Tue Jan 27, 2009 5:54 am

Following thread may be helpful for you
viewtopic.php?f=42&t=7875

niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Re: Meta-Tags

Post by niall08 » Wed Jan 28, 2009 2:53 am

Thanks Mazhar..

As I said, I've already trawled the forums for posts regarding meta-tags..

At the minute i'm editing the categories ASPX pages in the /admin/catalog/ directory, having built a join table for additional SEO-related data and new form elements in the editcategories.aspx page, which are inserted/updated into this new table (and creates and inserts meta tag content into the HTMLField in the ac_Categories table) when the "finish" button is clicked.

On Page render, I call a bespoke function in pagehelper.cs, which queries the join table and replaces the page title with the SEO field.

I'm rolling this model out to the Products pages today - in my mind, though, the difference in build between categories, products, and static pages results in a very convoluted solution..

Post Reply