Posted by Everett Zufelt on August 10, 2009 at 6:57pm
2 followers
Jump to:
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | theme system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
| Issue tags: | accessibility, SEO, Usability |
Issue Summary
The default page title for Drupal 7 pages is: "node title | site title". This can lead to multiple pages with the same page title when a site has multiple nodes with the same title. This can cause problems with usability, accessibility and SEO.
Recommendation
Make the page title a reverse breadcrumb, with at least two nodes (where available) before the site title. Fore example, the breadcrumb "Home » Download » Drupal project » Drupal Issues for Drupal" would turn into the page title "Issues for Drupal | Drupal | Drupal.org".
Comments
#1
I'm thinking there's room to improve the title for sure.
From SEO there's also pagination to consider.
For example all of these page:
http://drupal.org/project/modules
http://drupal.org/project/modules?page=4
http://drupal.org/project/modules?page=5
Share the title:
Modules | drupal.org
It would be better for them to be listed as:
Modules | drupal.org
Modules (Page 5) | drupal.org
Modules (Page 6) | drupal.org
There are also many Drupal sites that don't seem to pre-populate Delicious links properly when I'm adding them there. They often require re-writing.
Probably not a huge patch to bring in either breadcrumb or pagination info.
Was looking at this page http://openconcept.ca/search/node/data?page=4
And realized I had some code for this which might be useful for at least that piece:
$vars['head_title'] .= $_REQUEST['page'] ? t(' | Page @page', array('@page' => $_REQUEST['page'])) : '';#2
bumping to D8
#3
Setting to won't fix. the page_title module does a good job at this, incorporating tokens, and is supported in d6 / d7