Originally Posted by: "C" A suggestion for a future SP would be allowing us to specify a meta description for each of those, or automatically appending the page title to the meta description.
These changes are pretty easy to make. To specify the meta information, just add these lines to your Page_Load method.
Code:
Me.MetaKeywords = "custom keywords here"
Me.MetaDescription = "custom description here"
You can also prevent BV from using the default meta information for the store on pages where the keywords and description aren't specified. To do this, edit the \App_Code\BaseStorePage.vb file and comment out these lines (line 120-121):
Code:
' Me.MetaKeywords = WebAppSettings.MetaKeywords
' Me.MetaDescription = WebAppSettings.MetaDescription
Originally Posted by: "C" Same goes for multiple page length category pages, it flags the meta description for being the same.
Originally Posted by: "Simon Thomas" I vote for this on multiple page length category pages Google Web mater tools reports duplicate title tags
This change is a little more involved, though still not that bad. You will need to edit each category template. For this example I am editing the Grid template: \BVModules\CategoryTemplates\Grid\Category.aspx.vb
1. Move the PopulateCategoryInfo() method call from line 27 to the end of the If statement (approximately line 41).
2. Add this code block to the bottom of the PopulateCategoryInfo() method
Code:
If Pager1.GetPageCount > 1 Then
Dim pagerInfo As String = " - page " & Pager1.CurrentPage & " of " & Pager1.GetPageCount
Me.PageTitle &= pagerInfo
Me.MetaKeywords &= pagerInfo
Me.MetaDescription &= pagerInfo
End If
DISCLAIMER: this code was only minimally tested.
Hope this helps!