Advertisement:

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003009SMF 2.1[SMF 3.0 "Saguaro"] public2009-01-31 04:072012-06-14 06:12
Reporterregularexpression 
PrioritynoneSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0003009: Duplicate Tags + Pagination = GW problem.
DescriptionRe: http://www.simplemachines.org/community/index.php?topic=276214.0;topicseen [^]
and several other reports where Google Webmasters is reporting issues with SMF default meta information because every page in the pagination of a topic has the same meta title and description.

So although each page in a topic isn't duplicate content. It does have duplicate tags.

Whilst anyone wanting perfect seo should invest in mods. It would be nice that default smf wasn't having these issues reported in Google Webmasters. If google is saying its a problem then we should fix it.

For some smf'ers with lots of topics, google is reporting THOUSANDS of topics with this issue.

After reading
http://www.searchenginejournal.com/pagination-and-duplicate-content-issues/7204/ [^]
http://www.webmasterworld.com/google/3696211.htm [^]
http://www.malcolmcoles.co.uk/blog/avoid-duplicate-content-paged-comments-wordpress-27/ [^]

Possible Solution, add the page number to the title and descriptions
examples
<title>{title} - Page 2</title>
<title>{title} #2</title>
<title>{title} [2]</title>
same with description.

This is actually the same solution which is independantly devised and used on my own forum last year, and you remember how good my results were ;)
Although having - Page 2 in the title in google search results might not look nice. Its probably one of the best ways to make it unique.

PERHAPS, the page 2 bit should only be added after the first page.

So
topic=10.0 = <title>My Title</title>
topic=10.10 = <title>My Title - Page 2</title>
topic=10.20 = <title>My Title - Page 3</title>
Tags2.1, SEO
Attached Files

- Relationships

-  Notes
(0007032)
Alundra (Beta Tester)
2009-02-02 11:03

I agree with this. I hope it can be done so page ranks cam move up ;D.
(0007034)
Compuart (SMF Friend)
2009-02-02 14:25

Definitely something to look into. But still it's kind of a feature. Moving it to the next version.
(0014449)
groundup (SMF Friend)
2012-02-28 21:32

Spuds, which of these would you want to go with? I am leaning towards Page # on subsequent pages.
(0014457)
emanuele (Developer)
2012-03-01 11:23

What I did is:
(twice) in Subs.php:
    $context['page_title_html_safe'] = $smcFunc['htmlspecialchars'](un_htmlspecialchars($context['page_title'])) . (!empty($context['current_page']) ? ' - ' . $txt['page'] . ' ' . ($context['current_page'] + 1) : '');

and in constructPageIndex:
    $context['current_page'] = $start / $num_per_page;

that should work
(0014473)
emanuele (Developer)
2012-03-03 08:53
edited on: 2012-03-03 10:06

Commit: 42792051e32d4cfe3d40d7d68f323481f5e6e93d
Message: ! Added page number to title and meta tags [Bug 3009]
Author: emanuele
Date: 01/03/2012

MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group