Posted on: 02/11/10 10:48am
By: Pushkar
Hi! Please help me how to change titles of /index.php?page=2,3,4...999 ?
now it is duplicate the title of index.php and titles of topics
and I have problems with search engines
thanks!
Re: problem with titles of index.php
Posted on: 02/11/10 03:37pm
By: Dirk
Two questions: Is it really such a big problem (and how do you know)? And what do you suggest we put in the title instead?
I was actually wondering whether it would make sense to inject a "noindex" meta tag into all index pages with a page number > 1. If anything, those pages only seem to clog up the results for your site and usually, by the time a visitor arrives, the page doesn't contain the article the visitor was looking for any more.
bye, Dirk
Re: problem with titles of index.php
Posted on: 02/11/10 04:48pm
By: Pushkar
google for example recomended avoid duplicate titles
another example: I have a topic named "Euro-2012"
for keyword "euro-2012" google displayed page "/index.php?topic=euro-2012&page=5
but must be "index.php?topic=euro-2012"
I propose to put in titles "Topic name - Number of page" if it possible
Quote by: DirkTwo questions: Is it really such a big problem (and how do you know)? And what do you suggest we put in the title instead?
I was actually wondering whether it would make sense to inject a "noindex" meta tag into all index pages with a page number > 1. If anything, those pages only seem to clog up the results for your site and usually, by the time a visitor arrives, the page doesn't contain the article the visitor was looking for any more.
bye, Dirk
Re: problem with titles of index.php
Posted on: 02/12/10 06:54am
By: Dirk
Yes, I've seen the recommendations in the Webmaster Tools. The question is: Is there any evidence that those duplicate titles are a real problem?
I mean sure, we could easily put the page number in the title in any case. But the real issue here may be something else:
Quote by: Pushkaranother example: I have a topic named "Euro-2012"
for keyword "euro-2012" google displayed page "/index.php?topic=euro-2012&page=5
but must be "index.php?topic=euro-2012"
This is exactly what I was talking about above. Wouldn't it make more sense to add a
Text Formatted Code
<meta name="robots" content="noindex">
for page 5 here? In theory, that should remove the page from the search results but the Googlebot would still follow the links on that page and find all the linked articles (and index those).
bye, Dirk
Re: problem with titles of index.php
Posted on: 02/12/10 08:05am
By: Pushkar
Maybe it is make more sense, but I have 25000 articles, and I need add 2500 codes
Can you tell me what I need to add or change that 2,3,4,5...999 pages displayed like "Topic name - Number of page"
This is exactly what I was talking about above. Wouldn't it make more sense to add a
Text Formatted Code
<meta name="robots" content="noindex">
for page 5 here? In theory, that should remove the page from the search results but the Googlebot would still follow the links on that page and find all the linked articles (and index those).
bye, Dirk[/p]
Re: problem with titles of index.php
Posted on: 02/13/10 10:31am
By: Dirk
Quote by: PushkarCan you tell me what I need to add or change that 2,3,4,5...999 pages displayed like "Topic name - Number of page"
For the topic pages only: Find this piece of code in function COM_siteHeader in lib-common.php:
Text Formatted Code
else
{
$pagetitle = stripslashes( DB_getItem( $_TABLES['topics'], 'topic',
"tid = '$topic'" ));
}
and change it to read:
Text Formatted Code
else
{
global $page;
$pagetitle = stripslashes( DB_getItem( $_TABLES['topics'], 'topic',
"tid = '$topic'" ));
if (isset($page) && ($page > 1)) {
$pagetitle .= ' - Page ' . $page;
}
}
bye, Dirk
Re: problem with titles of index.php
Posted on: 02/13/10 01:36pm
By: Pushkar
:banana: :banana: :banana: :banana: :banana:
thank you very much!!!!
Re: problem with titles of index.php
Posted on: 02/14/10 12:36pm
By: Laugh
Quote by: DirkTwo questions: Is it really such a big problem (and how do you know)? And what do you suggest we put in the title instead?
I was actually wondering whether it would make sense to inject a "noindex" meta tag into all index pages with a page number > 1. If anything, those pages only seem to clog up the results for your site and usually, by the time a visitor arrives, the page doesn't contain the article the visitor was looking for any more.
bye, Dirk
From my experience and by doing some quick research by searching on Google for different stories I am pretty sure that this type of duplicate titles does not hurt a website (at least on Google). Most of the popular blog software out there doesn't display a page number in their page title for topics/categories. Should we do it? Not sure, I am not against the idea (for pages 2 and up) as it does give visitors additional information. I don't think it would be something I would apply to the meta tag description though (it is duplicated as well).
In regards to the the meta tag for noindex. I personally would still want these pages indexed. Maybe there should be a config option for this?
Tom