Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 09:06 pm EST
Geeklog Forums
problem with titles of index.php
Pushkar
now it is duplicate the title of index.php and titles of topics
and I have problems with search engines
thanks!
Dirk
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
Pushkar
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
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
Dirk
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:
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"
This is exactly what I was talking about above. Wouldn't it make more sense to add a
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
Pushkar
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
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]
Dirk
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"
For the topic pages only: Find this piece of code in function COM_siteHeader in lib-common.php:
{
$pagetitle = stripslashes( DB_getItem( $_TABLES['topics'], 'topic',
"tid = '$topic'" ));
}
and change it to read:
{
global $page;
$pagetitle = stripslashes( DB_getItem( $_TABLES['topics'], 'topic',
"tid = '$topic'" ));
if (isset($page) && ($page > 1)) {
$pagetitle .= ' - Page ' . $page;
}
}
bye, Dirk
Laugh
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
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
One of the Geeklog Core Developers.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content