OK. I saw that many DLE sites have this problem (freshwap has 22000 pages with same title tag) so I fixed this on my site on this way.
First you need to edit this and than you will be able to put php code in main.tpl
After that, in your main.tpl find
and after that add
thats it
After that your title tag will be
Page "pagenumber" Homepage Title :D
First you need to edit this and than you will be able to put php code in main.tpl
PHP:
Open file index.php
Find
echo $tpl->result['main'];
Replace to
eval (' ?' . '>' . $tpl->result['main'] . '<' . '?php ');
After that, in your main.tpl find
Code:
<head>
and after that add
PHP:
<?php
$uri = $_SERVER['REQUEST_URI'];
$findme = "/page/";
$pos = strpos($uri, $findme);
if ($pos !== false) {
$pieces = explode("/", $uri);
$fort = $pieces[2];
echo "<title>Page $fort Your Homepage Title</title>";
}
?>
thats it
After that your title tag will be
Page "pagenumber" Homepage Title :D