Hello,

For SEO reasons, 2 pages on a same server can't have the same title,
here is a quick & dirty fix.

Add to template.php

/**
 * Correct the title for mutiple pages node/views/frontage and others
 */
function phptemplate_head_title($head_title) {
	if($_GET['page']) {
		$head_title .= ' page ' . ((int)$_GET['page'] + 1);
	}
	return $head_title;
}

In page.tpl.php
change :

<title><?php print $head_title; ?></title>

to :

<title><?php print phptemplate_head_title($head_title); ?></title>

Bye
Antoine

Comments

andregriffin’s picture

Sorry, but I'm not exactly clear on what this is fixing.

andregriffin’s picture

Status: Active » Postponed (maintainer needs more info)
andregriffin’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)