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

docs: Add note to legacy notes #7022

Merged
merged 2 commits into from
Jan 6, 2021

Conversation

mister-ben
Copy link
Contributor

Description

People keep finding the v4 legacy docs at docs.videojs.com/docs and Google keeps positioning them highly in search results. This attempts to lessen that.

Specific Changes proposed

  • Adds a note with a link to the top of each page.
  • Adds a link with rel="canonical" to each page.
  • The URL linked is the equivalent doc in current docs if my script could figure it out otherwise just docs.videojs.com

Putting a nofollow rule for /docs in a robots.text wouldn't hurt too.

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mister-ben! It's something I've wanted for a long time, thanks for actually getting to it.

@gkatsev
Copy link
Member

gkatsev commented Jan 6, 2021

If we want a robots.txt, we can just add it to the docs repo as a file

@gkatsev gkatsev merged commit f87297b into videojs:main Jan 6, 2021
edirub pushed a commit to edirub/video.js that referenced this pull request Jun 8, 2023
People keep finding the v4 legacy docs at docs.videojs.com/docs and Google keeps positioning them highly in search results. This attempts to lessen that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants