Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Sep 2011 at 05:17 UTC
Updated:
14 Feb 2019 at 17:15 UTC
Jump to comment: Most recent
Comments
Comment #1
Everett Zufelt commentedI don't understand your problem statement:
"All pages in Drupal are same titles."
Can you please try to explain a little more clearly and provide examples?
Comment #2
droplet commentedmultiple pages, pager / pagination page, pages with pager, paged page, listing page .....etc
e.g.
http://drupal.org/project/modules?page=1
http://drupal.org/project/modules?page=2
D6 ~ 8 have same problem :(
Comment #3
Everett Zufelt commented@droplet
Thanks for clarifying the problem statement.
Can you point to best practices and examples of how other CMSs are handling this scenario?
Comment #4
droplet commentedboth examples on Issue Summary are common usage.
On homepage with pager, most site will be:
Site Name | Page 1
Site Name | page 2 of 10
Other page maybe:
Apple New - Page 1 | Site Name
Apple New - page 2 of 10 | Site Name
But its common pattern on Drupal (most node & page):
Node Title | Site Name
On Drupal homepage with slogan:
Site Name | Slogan
So I think the best pattern is:
Site Name | Page 1
Site Name | Slogan - Page 1
Drupal | Great CMS - Page 1 of 10000
(we can start adding it from Page 2)
(Page number provides more info to visitor and avoid duplicated content to search engine)
Comment #5
Everett Zufelt commented@droplet
Can you point to external sources where the pattern you are suggesting is in use? Are other big companies, CMS products, style guides, etc. using or suggesting this pattern?
Comment #6
droplet commentedSorry, no external sources. Every SEO guys have their own vision. and all of above are common pattern.
If you asked me about secret of SEO. I will vote for this:
homepage:
Site Name | Slogan
homepage page 2:
Slogan | Site Name - Page 2
Article page:
Apple New - page 2 | Site Name
Search page:
Search for Apple news - Page 2 of 10 | Site Name
Big companies have their own strategics.
e.g.
I'm a big shopping site. I just want you to know you're on "Brand - Searching KEYWORD"
I'm a Mac, then "Apple | Title - Page 2" is better for them.
I'm a ebook site: "Page 2 of 10 - Book Name | SiteName"
Matt Cutts never told me which one is better :)
Provide a PAGE NUMBER + Site Title and store in separated vars. Allow site builder to mix up their own pattern. We pick one which less hurt SEO and better for most site and users is good enough.
Comment #6.0
droplet commentedUpdated issue summary.
Comment #7
mgiffordGoogle's Webmaster Tools complains about this for titles for Drupal blog pages (and others).
Edit: Other folks looking for this http://drupal.stackexchange.com/questions/102348/how-do-i-add-the-page-n...
Comment #8
droplet commentedComment #11
finex commentedThis issue is still unresolved. I'm trying to write some code to fix this, should I work on metatag module or would be better to fix in core? Thanks.
Comment #12
droplet commented+1 fix in CORE.
Comment #15
fomenkoandrey commentedA similar problem.
Did you manage to solve it?
Please explain how to add page numbers to the description and title (except the main one).
Comment #17
caxy commentedI ran into this issue as well so I made a module. It currently only deals with pages that come from page=[x] but could be adapted for other formats. Let me know what you think. https://www.drupal.org/project/pagination_page_titles
Comment #19
budda@caxy the module you made is an empty repository - do you have something private that's working and could be released?
Comment #20
dawehnerThis seems to be a feature which would fit best into contrib.
Comment #22
buddaSolution documented at https://ixis.co.uk/blog/unique-titles-paginated-content-drupal-8 for anybody searching.