Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update robots.txt to Index Only Latest Version of Documentation #1960 #1977

Conversation

rajasurya-rjs
Copy link

Update robots.txt to Index Only Latest Version of Documentation

PR Description:
This PR updates the robots.txt file in the Taipy documentation repository to ensure that only the latest version of the documentation is indexed by search engines. The changes made include:

  • Allowing search engines to crawl and index the /en/latest/ version of the documentation.

  • Disallowing search engines from accessing any other /en/ versions (e.g., /en/release-3.0/) to prevent outdated versions from appearing in search results.

  • Adding a Sitemap reference (https://docs.taipy.io/sitemap.xml) to help search engines efficiently crawl the allowed URLs.

These changes are aimed at improving SEO by ensuring that users are directed to the most up-to-date version of the documentation when searching online.

Let me know if you'd like any further adjustments or additional details!

@rajasurya-rjs rajasurya-rjs changed the title Update robots.txt to Index Only Latest Version of Documentation Update robots.txt to Index Only Latest Version of Documentation #1960 Oct 9, 2024
@rajasurya-rjs
Copy link
Author

this fixes #1960

@FlorianJacta
Copy link
Member

The repo of the documentation is Taipy Doc. You are not changing the correct repo

@rajasurya-rjs
Copy link
Author

my bad let me fix this

@jrobinAV jrobinAV self-assigned this Oct 19, 2024
@jrobinAV jrobinAV added 🖧 Devops Operations, monitoring, maintenance, deployment, packaging 📄 Documentation Internal or public documentation 🟧 Priority: High Must be addressed as soon labels Oct 19, 2024
@jrobinAV jrobinAV closed this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖧 Devops Operations, monitoring, maintenance, deployment, packaging 📄 Documentation Internal or public documentation 🟧 Priority: High Must be addressed as soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants