Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I noticed for Views with pagers the title stays the same all the time which are then reported as pages with duplicate titles in Google Webmasters. Would be nice to have an option to add the pager number to the page title.
Here are some discussions, but perhaps a checkbox would be more convenient:
http://drupal.org/node/1188142
http://www.seo-expert-blog.com/blog/avoiding-duplicate-title-tags-on-pag...
Comments
Comment #1
couturier CreditAttribution: couturier commentedThis would be fantastic! 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 Views without the weight of implementing an extra module. From the Page Title module documentation:
Comment #2
couturier CreditAttribution: couturier commentedI'm moving this to 8.x-dev because it would be so great to have this with Drupal 8. It appears the Metatag module is incorporating Page Title module functionality so that Page Title can eventually be phased out. Unfortunately, Metatag still does not have a way to fix duplicate page titles in Views. If we could offer this in Views, then other modules would not need to fix it from the outside.
Comment #3
dawehnerSorry, but adding the pager id to the pager title, this is really a custom request.
Sure you can implement anything into anything so you end up with a great feature monster
You could do this for example using a custom page display plugin or even a hacky module which scans for pagers in general and should work on comment pages as well. I don't see a point to add this to views in general.
Comment #4
Jorge Navarro CreditAttribution: Jorge Navarro commentedYou can find [current-page:page-number] token inside a view if you use Metatag Views inside Metatag module.
Comment #4.0
Jorge Navarro CreditAttribution: Jorge Navarro commentedadding link
Comment #5
prakharcse CreditAttribution: prakharcse commentedhi
I have a view which results in about 20 pages with pager. URLs are like xyz?page=1. Now, I want to implement different meta description for each page so that xyz?page=1 and xyz?page=2 have different meta descriptions.
I have Metatag module installed in my installation.
Comment #6
maustyle CreditAttribution: maustyle commented#4 works like a charm.
Comment #7
mgifford@dawehner this is a complaint that google comes up with in their Webmaster Tools - Search Console. Under Search Appearance & HTML Improvements they complain about Duplicate title tags
By default it would be great if this were addressed out of the box.
Feel free to close it, but when Google suggests it, I don't think it is a "really a custom request".
Comment #8
mgiffordComment #9
LendudeAs this stands for D8 it's a duplicate of #1281154: add Page number to multiple pages title so closing it as that. If somebody wants to open this back up and try to get it into 7.x feel free (but given @dawehners earlier comment that probably won't happen).