Title Rewrite

Component ID

243645

Component name

Title Rewrite

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1707

Component created

Component changed

Component body

Title rewrite rules allow the contents of the X/HTML <title> element to be overridden using text specified in weighted rules. The override text may include dynamic content using the Token module. Rules are applied based on the path to the page being displayed, thus any page (not just a node) can have its title rewritten.

Rules are evaluated by their weight. Lighter rules are evaluated before heavier ones. Rule evaluation stops on the first rule encountered that matches a given path. For example, if the lightest weight rule matches a path, that rule is evaluated and no further rules are evaluated against that path.

When using tokens in the Rewrite Text field, keep in mind that node tokens are only available when a page is displaying a single node. Global tokens are available on all pages.

Title Rewrite must be invoked from the theme, and requires a minor change to your template.php file.

Latest Release Notes (5.x-1.2)

Addresses these issues: