uschindler commented on PR #846:
URL: https://github.com/apache/solr/pull/846#issuecomment-1123319707

   > Antora supports canonical URL header: 
https://docs.antora.org/antora/latest/playbook/site-url/#canonical-url which is 
good news, so if we redirect to "latest", but canonical remains "9_0" then we 
could be good?
   
   If the canonical URL is always "latest"  (as described in the 
documentation), then Google would forget all old versions and only show links 
to latest. Thats actually a good thing and would solve our problems. 
Unfortunately we should maybe think of patching all old pages with a canonical 
link. Or much better instead of patching, we could add a HTTP "Link:" header 
(see Google Docs above) to the `.htaccess` where we maybe link all 8.x pages to 
latest 8.11 refguide on the HTTP level. Same for 7.x and 6.x. This would at 
least remove all variants from google except the latets version of each major 
release.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to