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

CommentFileSizeAuthor
#5 pager-example.jpg60.18 KBcouturier
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PlayfulWolf’s picture

btw, if this featue is implemented - http://drupal.org/project/page_title module will be obsolete, as it does only my requested feature

PlayfulWolf’s picture

Category: support » feature
smitty’s picture

Please have a look at: http://drupal.org/node/1696174

couturier’s picture

Issue summary: View changes

Expanded description

couturier’s picture

Title: Using views with [current-page:page-number], how to disable it on first page? (not to show "1") » Using views with [current-page:page-number] to avoid duplicate page titles
Version: 7.x-1.0-alpha4 » 7.x-1.x-dev

I 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.

couturier’s picture

FileSize
60.18 KB

Here 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.

PlayfulWolf’s picture

I 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

couturier’s picture

The 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.

PlayfulWolf’s picture

thanks 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

PlayfulWolf’s picture

Issue summary: View changes

Updated information

marcelovani’s picture

couturier’s picture

That 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.

marcelovani’s picture

Status: Needs review » Active

The 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?

marcelovani’s picture

Status: Active » Needs review
couturier’s picture

Status: Active » Closed (duplicate)

I 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.

couturier’s picture

Issue summary: View changes

Spelling correction