Meta tag display
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Meta tag display
I've entered in some keywords, titles, etc into the html head field in some categories and they are not being rendered in the page. Is there something else I need to do?
Thanks
Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Meta tag display
The only code I can find, other than the input code in the admin pages is in the App_Code/ Pagehelper.cs:
public static void BindMetaTags(Page page, ICatalogable catalogObject)
{
if (catalogObject != null)
{
page.Header.Controls.Add(new LiteralControl(catalogObject.HtmlHead));
}
}
In VS2005, the metadata for that code says:
Summary:
// Gets the document header for the page if the head element is defined with
// a runat=server in the page declaration.
//
// Returns:
// An System.Web.UI.HtmlControls.HtmlHead containing the page header.
Does anyone know where that would be so I can check it? I've looked at some of the pages and in the App_Data scriplets.
public static void BindMetaTags(Page page, ICatalogable catalogObject)
{
if (catalogObject != null)
{
page.Header.Controls.Add(new LiteralControl(catalogObject.HtmlHead));
}
}
In VS2005, the metadata for that code says:
Summary:
// Gets the document header for the page if the head element is defined with
// a runat=server in the page declaration.
//
// Returns:
// An System.Web.UI.HtmlControls.HtmlHead containing the page header.
Does anyone know where that would be so I can check it? I've looked at some of the pages and in the App_Data scriplets.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Meta tag display
You should only have to populate the HTML Head section like this:
Make sure you do a search and don't just look for it in the HTML source of the rendered page. Sometimes the tags get pushed far to the right and they're not obvious to see.
Code: Select all
<meta name="keywords" content="Stansport,48263-01,276-9,Appliances"/>
<meta name="description" content="Stainless Steel 9 Cup Coffee Pot"/>
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Meta tag display
It was my understanding you could gain as much populating the html head of the categories with something like: meta name="keywords" content="nuts, bolts, hammers,saws"
one forum entry suggested they aren't used anymore ... not sure who to believe anymore.
one forum entry suggested they aren't used anymore ... not sure who to believe anymore.

Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright
"Bills travel through the mail at twice the speed of checks." -- Steven Wright
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Meta tag display
I've checked some other page and it's OK. The one it isn't showing up on is an adaptation of a category page, so I must have broken it.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Meta tag display
Way to go Judy 

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Meta tag display
OK, more info. I didn't break it. The contents of the <head> field put into the admin field don't show up for any of my webpages, just for categories and products. Can anyone else verify?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Meta tag display
Where is what you are talking about Judy?jmestep wrote:...of the <head> field put into the admin field
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Meta tag display
I meant HTML Head field when editing a webpage. I just tried it and now something is showing up. Maybe it was a cache issue.
Sorry for the trouble and thanks for the posts.
Sorry for the trouble and thanks for the posts.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Meta tag display
I think I've got it figured out. The merchant wanted me to put a special <title> tag in above the keywords and description and when I took that out, the rest showed up.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx