Page Title

Slug: 
page_title
Versions de Drupal: 
5.x
6.x
7.x
D.o - Installation Rank: 
26
D.o - Reported Installs: 
52 951
D.o - Maintenance Status: 
Actively maintained
D.o - Development Status: 
Under active development
D.o - Module Categories: 
Content, Search, Site Navigation, Third-party Integration, Utility, Views
D.o - Download 5.x: 
5.x-2.3|http://ftp.drupal.org/files/projects/page_title-5.x-2.3.tar.gz|16.62 KB
D.o - Download 6.x: 
6.x-2.3|http://ftp.drupal.org/files/projects/page_title-6.x-2.3.tar.gz|22.43 KB
D.o - Download 7.x: 
7.x-2.4-beta1|http://ftp.drupal.org/files/projects/page_title-7.x-2.4-beta1.tar.gz|21.19 KB
D.o - Original Description: 
Page Title

The word "title" is a bit overloaded. Every piece of content in Drupal has a title, and so does every page. The page title is the one found in the HTML head inside the <title> tag. It is also used on SERPs (Search Engine Result Pages) and can greatly enhance your websites SEO (Search Engine Optimization).

This module gives you granular control over the page title. You can specify patterns for how the title should be structured and, on content creation pages, specify the page title separately to the content's title.

Page Title 2

What features are in Page Title 2?

  • Token Integration: This module integrates with the fantstic token module. This opens up a whole world of extra stuff you can put into the page title such as the highest weighted term for a node or, in fact, any other content you'd like to shove in their via the Token API (you can even build your own TokenAPI addons to get stuff into the Page Title)! This is made even more funky when you enable the CCK module as CCK exposes field values to the Token Module.
  • Granular Control: Want the page title override field for the Book and Story node types, but not for Banner or Image? It's possible to enable the Page Title field for specific node types and, as a new feature, even on non-nodes too. Page titles can be set for terms and for users (since Page Title 2.1). This feature can be configured on the Admin > Content > Page Title page.
  • Token Patterns per-content type: You can configure each individual content types pattern (this applied to nodes and terms). For example: you may want a generic default pattern, however you want your forum nodes to use a different pattern (eg highest weighted term for a forum might be the board it's in). You simply set a default pattern and an overriding specific pattern for other content types, independent of whether the Page Title field is enabled for the type or not.
  • Other contexts... Page Title now supports user profile and blog homepage contexts too. This means you could create a user with a username such as jbloggs but define the page title for user profiles and blog homepages to use a better name such as Joe Bloggs.
  • Pagination Suffix: One of the things you may noticed about Drupal in terms of SEO is that whenever you go through a paged list of content, the page title never changes. Google Webmaster Tools will flag this up as a problem as you essentially have several different pages all being identified with the same page title. A new feature in Page Title 2.1 is the ability to append the page number as a suffix pattern. This means any URL which contains something like page=2 in the query string will also have an optional token pattern suffixed onto the end of it. Important: for this feature to work properly, you need to be running Token 1.12 or later.
  • Views Integration: (Currently this is D6 only). You can specify a Page Title override on a Page View and on any subsequent arguments too. This feature is still early and in need of testing. Feedback would be appreciated!

Handy modules which work with Page Title

There are now a few modules which help you use Page Title to get the best out of your SEO.

  • Content Optimizer - provides you with an inline keyword analysis of your content.
  • SEO Friend - Generate reports of content SEO across the site (eg, which pages are missing Page Titles or Meta Tags)

Testing

The Drupal 6 and 7 branches now both come equipped with a SimpleTest. This should help keep the module stable during development, however I would appreciate any feedback on the tests (eg, where is it lacking? What could I test better, and (importantly) how?).

Drupal version specific notes

Drupal 5

Due to Drupal 5's theming system, in addition to the normal installation steps, this module requires you to edit your theme’s template files. Installation information can be found in the documentation installation section.

Development for the Drupal 5 branch is unlikely to continue past 2.3 - I simply to not have the time to backport all the work to Drupal 5, especially now Drupal 7 is on the cusp on release.

Drupal 6

The above does not apply to Drupal 6. You no longer need to change your theme due to Drupal 6's improved theming API! Thanks to wayland76 for pointing this out.

Views integration is here!. You can finally start to work on the SEO of your views Listing pages!

Drupal 7

There is now a Beta release for Drupal 7 with features "inline" with the 2.4 release for Drupal 6. Please test it!

Known Issues / Incompatibilies

  • This issue with Blueprint was fixed in 1.6. Previous to 1.6, Blueprint used a hard coded system for the head_title which overwrote any work Page Title did. See: #661422: Incompatible with Page Title
Souscrire à DrupalFrance.com RSS