Closed jamieu closed 1 month ago
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 notifications@github.com 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.
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.
Objects, People, Document and (soon) Groups.
Objects | Science Museum Group Collection
Documents and Archives | Science Museum Group Collection
People and Companies | Science Museum Group Collection
Explore objects by Group | Science Museum Group Collection
(need to think about wording on this one)These apply only to objects so we can exclude the 'Object' label if these filters are selected.
Motive Power | Science Museum Group Collection
On display at the National Railway Museum, Warehouse | Science Museum Group Collection
ie. (<museum>
, <gallery>
)Kodak Collection | Science Museum Group Collection
COVID 19 | Science Museum Group Collection
These apply only to documents so we can exclude the 'Document' label if these filters are selected.
Documents in the Babbage Archive | Science Museum Group Collection
Use long form if these are the only filters (other than top level type)
Objects by John Smith | Science Museum Group Collection
Objects from Manchester | Science Museum Group Collection
Documents from Manchester | Science Museum Group Collection
Use shorter form if multiple 1st or 2nd level filters
Kodak Collection : Manchester | Science Museum Group Collection
COVID 19 : Manchester | Science Museum Group Collection
Kodak Collection : John Smith | Science Museum Group Collection
COVID 19 : John Smith | Science Museum Group Collection
Manchester : John Smith | Science Museum Group Collection
Append these these using a colon ie. <as above> : <3rd class filter> : <3rd class filter> | Science Museum Group Collection
.
(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).
Complete
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