This is important for SEO because Google and Bing both flag this as an SEO flaw, duplicate page titles a paginated View. The Page Title module already provides the capability of fixing this, but it would be great to have it in Meta Tags since Page Title functionality is being integrated with Meta Tags. From the Page Title module documentation:
Pagination Suffix: One of the things you may noticed about Drupal in terms of SEO is that whenever you go through a paged list of content, the page title never changes. Google Webmaster Tools will flag this up as a problem as you essentially have several different pages all being identified with the same page title. A new feature, introduced in Page Title 2.1, is the ability to append the page number as a suffix pattern. This means any URL which contains something like page=2 in the query string will also have an optional token pattern suffixed onto the end of it.
Another option is to set successive pages in a View to no index, though this is not a recommended practice for SEO. See How to add no-index to Views pager pages?
A 2008 blog post also addresses the issue for the Meta Tags module by adding code to the page template, Avoiding duplicate title tags on pager pages in Drupal
Comment | File | Size | Author |
---|---|---|---|
#5 | pager-example.jpg | 60.18 KB | couturier |
Comments
Comment #1
PlayfulWolf CreditAttribution: PlayfulWolf commentedbtw, if this featue is implemented - http://drupal.org/project/page_title module will be obsolete, as it does only my requested feature
Comment #2
PlayfulWolf CreditAttribution: PlayfulWolf commentedComment #3
smitty CreditAttribution: smitty commentedPlease have a look at: http://drupal.org/node/1696174
Comment #3.0
couturier CreditAttribution: couturier commentedExpanded description
Comment #4
couturier CreditAttribution: couturier commentedI submitted a feature request to include this in Views, but they said it would take too much time (see this issue). It would be great, as PlayfulWolf said, to have this feature in the Meta Tags UI because it is one thing Page Title can currently do from the UI that Meta Tags doesn't.
As smitty referenced, there is a work-around that can be implemented manually, but it looks like that is just for Drupal pagination, not pagination within Views.
Comment #5
couturier CreditAttribution: couturier commentedHere is a screenshot of the UI options in the Page Title module that would be so nice to have in Meta Tags. Right now, there is a conflict in functionality between the two modules, so it's hard to use both. It seems everyone wants to be moving to Meta Tags as the module of choice for all these tasks.
Comment #6
PlayfulWolf CreditAttribution: PlayfulWolf commentedI still haven't tried dev version of Token, but if it does have [current-page:page-number], and it works for views as in your screenshot - we can mark it as fixed, but some documentation would be great
Comment #7
couturier CreditAttribution: couturier commentedThe screenshot is from the Page Title module. I added it as an example of what needs to go into the Meta Tags module. The code posted by smitty should already be in the newest Token release. It applies to Drupal core pagination, not pagination within Views.
So, it would still be great if someone would put Views pages titles into Meta Tags. I've closed as duplicates about half a dozen other issues today, so I think it is a popular request. Because Meta Tags has now included most of the Page Title functions, you can't use both modules together, and Meta Tags offers some important things that Page Title does not.
Plus, Meta Tags will probably be the module that gets more maintenance attention going forward. I expect Page Title will eventually be phased out. This is the final function I'm aware of that has not been transferred from Page Title to Meta Tags, the control over Views pagination.
Comment #8
PlayfulWolf CreditAttribution: PlayfulWolf commentedthanks for all the work - I believe, that this is popular request, as everyone which does some SEO with Drupal has to have this functionality.
my current project is not so far from SEO stage, so will try everything all new beta/alpha/dev modules has to offer
Comment #8.0
PlayfulWolf CreditAttribution: PlayfulWolf commentedUpdated information
Comment #9
marcelovaniSee http://drupal.org/files/add_pagination_to_cid_variable-1337750-4.patch
Comment #10
couturier CreditAttribution: couturier commentedThat patch doesn't seem to fit with the current version. Some similar code appears at line 450, but when I applied the patch there, it broke my site. If the patch could be updated to work, then can we get this committed to the next release? This is great if it is such a small amount of code is all it takes to fix this feature.
Comment #11
marcelovaniThe patch works on the current dev version, http://drupal.org/node/1337750#comment-6528042
did you try to clone the 7.x and apply it?
Comment #12
marcelovaniComment #13
couturier CreditAttribution: couturier commentedI am closing this feature request and moving it to this issue because the patch solves the problem, and now we only need to find a way to make it easier for people to know how to implement this.
Comment #13.0
couturier CreditAttribution: couturier commentedSpelling correction