visortelle commented on issue #18190:
URL: https://github.com/apache/pulsar/issues/18190#issuecomment-1295281487

   I just took a look at how it works in Confluent docs.
   
   It seems like they don't use the tags I mentioned above, but use the 
canonical tag instead.
   
   For example:
   
   This page for v7.2.0 is a bit outdated version of their product) 
`https://docs.confluent.io/platform/7.2.0/installation/docker/operations/index.html`
   
   has the following tag in the HTML head:
   
   `<link rel="canonical" 
href="https://docs.confluent.io/platform/current/installation/docker/operations/index.htm";>`
 
   
   For all versions, the canonical URL is the same for the same .md document, 
and Google shows them in its search results.
   
   This approach allows the avoidance of conditional HTML tag insertion that 
depends on the latest version of the product.
   
   I'm not an SEO expert, and probably it would be a good idea to take a small 
consultation with some professionals in this area before doing something.
   
   ---
   
   
   - More info on canonical tags: 
https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls
   
   - Relevant Docusaurus 
[docs](https://github.com/facebook/docusaurus/issues/2603) on how to insert 
tags to the specific .md document `<head></head>`.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to