h2 tags and search engines
| Project: | Box_grey |
| Version: | 5.x-1.1 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Since moving http://www.nicaliving.com to this theme we seem to be getting let hits in the Google Nicaragua alerts. I was too busy to investigate until I got an email about a related problem today. The email explained that NL pages were showing up in Google that really didn't fit the search criteria.
The culprit is that stuff in the sidebars (such as current forum topics) seem to be getting as much weight as the actual articles. Why? Because there is no h1 tag on the pages and both article titles and sidebar headings use h2 tags. They look very different because of the CSS but, the result for search engines is pretty undesirable.
It seems that the easy fix would be to set the CSS for the main article equal h1 tag equal to that of the h2 tag and change the template to use h1 rather than h2. Not sure how many other themes have this same issue.

#1
h1 is used for the site title, so it's not true that h1 isn't used. Another problem will be the fact that a table is used to generate the columns so the sidebar content will come before the main content.
There's no way to fix this without major re-engineering of the theme, something I'm not likely to do in a point release. If I can find the time I'll re-engineer the theme for Drupal 6. Marking this as postponed.
Patches are of course welcome.