collectionsonline
collectionsonline copied to clipboard
Title being omitted on paginated pages
Search for this url in Google https://collection.sciencemuseum.org.uk/search/categories/aeronautics
https://collection.sciencemuseum.org.uk/search/categories/aeronautics?page[number]=3


The title meta tag is defined as Search our collection | Science Museum Group Collection
on the search result pages.
From https://support.google.com/webmasters/answer/35624?hl=en Goggle doesn't seem to like repeated titles (the title is the same when a search result returns multiple pages):
In this case Google generate a slightly different title by adding the page number:
Well spotted :-)
Can we make it more specific ie. Category, Object Type, Gallery/Museum name, Search query etc. -- In fact thought we were already doing that (on my mobile so can't see the current titles)
Might also be nice/better to append " | Page 2" etc. rather than letting Google simply append a number, but not sure if that is tricky?
On Tue, 26 Mar 2019 at 15:45, Simon [email protected] wrote:
The title meta tag is defined as Search our collection | Science Museum Group Collection on the search result pages. From https://support.google.com/webmasters/answer/35624?hl=en Goggle doesn't seem to like repeated titles (the title is the same when a search result returns multiple pages): [image: image] https://user-images.githubusercontent.com/6057298/55011559-f4816c00-4fdd-11e9-976e-ee4141c9f7d1.png
In this case Google generate a slightly different title by adding the page number: [image: image] https://user-images.githubusercontent.com/6057298/55011637-0fec7700-4fde-11e9-851e-953dead3a85c.png
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/TheScienceMuseum/collectionsonline/issues/1175#issuecomment-476711576, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFk5QAZz57Rk1f9bSegfiGftfUOwgqZks5vakCNgaJpZM4WUKOU .
Might be most sensible to copy the pattern in there URL structure ie.
ie. for al the filters in currently in the url ie. object name, category, museum, galley etc.
-
https://collection.sciencemuseum.org.uk/search/museum/national-railway-museum/gallery/warehouse/places/leeds
-
National Railway Museum, Warehouse | Science Museum Group Collection
-
https://collection.sciencemuseum.org.uk/search/categories/motive-power
-
Motive Power | Science Museum Group Collection
I think we can safely omit Search our collection |
when we have specific filter conditions.
(...aslo append Page 2, 3
to the end on any pages (after the first. ie. don't display Page 1
in the title)
@jamieu now that i've fixed and closed this page title ticket i'm wondering how to approach this one?
I did have a brief look and i'm not seeing pagination numbers in google, not sure if that's something i've introduced with my changes in the above ticket. I could look into appending the page number onto the title if on page 2 onwards.
I think that's probably the correct behavior
We DON'T want pagination numbers in our title tags (..despite what I may have said in my comment above from 2019!!)
But we do want the filters to appear in the
But I think there is a probably limit here and after 3 (?) filters, we want want to prioritise what the most important ones to display are, otherwise the
Here's a 'starter for 10' but not wedded to it (so don't feel you have to follow this pattern exactly).
There is probably a sensible tradeoff here between overtly complex logic and titles that are 'good enough' for Google and bookmarking. So maybe tackle it in two passes. Adding the below to get my thoughts down, rather than as a final spec — feel free to amend, suggest changes or improvements.
But I think getting good titles for our 'landing pages' is probably crucial in terms of SEO so this is hopefully well worth the effort.
Top level type
Objects, People, Document and (soon) Groups.
-
objects ->
Objects | Science Museum Group Collection
-
documents ->
Documents and Archives | Science Museum Group Collection
-
people ->
People and Companies | Science Museum Group Collection
-
groups ->
Explore objects by Group | Science Museum Group Collection
(need to think about wording on this one)
1st class object filters (on their own)
These apply only to objects so we can exclude the 'Object' label if these filters are selected.
- Category filter ->
Motive Power | Science Museum Group Collection
- Museum (On Display) filter ->
On display at the National Railway Museum, Warehouse | Science Museum Group Collection
ie. (<museum>
,<gallery>
) - Named Collection (Collection) filter ->
Kodak Collection | Science Museum Group Collection
- SubGroup (Group) filter ->
COVID 19 | Science Museum Group Collection
These apply only to documents so we can exclude the 'Document' label if these filters are selected.
- Archive filter ->
Documents in the Babbage Archive | Science Museum Group Collection
2nd class filters
Use long form if these are the only filters (other than top level type)
-
maker (object)->
Objects by John Smith | Science Museum Group Collection
- maker (document) -> 'Documents by John Smith | Science Museum Group Collection`
-
place (object) ->
Objects from Manchester | Science Museum Group Collection
-
place (document) ->
Documents from Manchester | Science Museum Group Collection
Use shorter form if multiple 1st or 2nd level filters
-
place + named collection ->
Kodak Collection : Manchester | Science Museum Group Collection
-
place + sub-group ->
COVID 19 : Manchester | Science Museum Group Collection
-
maker + named collection ->
Kodak Collection : John Smith | Science Museum Group Collection
-
maker* + **sub-group ->
COVID 19 : John Smith | Science Museum Group Collection
-
place + ** maker** ->
Manchester : John Smith | Science Museum Group Collection
3rd class filters
Append these these using a colon ie. <as above> : <3rd class filter> : <3rd class filter> | Science Museum Group Collection
.
- material
- object type
- date
(we maybe should treat dates differently, esp. if it's the only filter ie. 'Objects made in 1982' but for now let's just append it to the end of the other filters).