Replies: 2 comments 4 replies
-
@mattstein Don't know if anyone has looked at this post, but now that Craft 4 has been released, I just want to point out that every time I search, the top results are always for the Craft 3 docs, in other words, what I described above is exactly what happened. It would be awesome if we could fix this! |
Beta Was this translation helpful? Give feedback.
4 replies
-
Thanks for bumping this—something is definitely not right with how Vuepress is handling additional I'll be looking at it in greater depth this week! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now each version of the docs is hosted at a URL of the form https://craftcms.com/docs/3.x/xxxxxx...
I want to propose that the latest version is always hosted at https://craftcms.com/docs/xxxxxxx (dropping the version number).
The main reason is so that when a new version comes out, it gets all the seo juice from previous versions of the docs.
One example of a project that does this (though far from the only one) is tailwind - they just recently released version 3 and bumped all version 2 docs to https://v2.tailwindcss.com/docs.
One example of another project that does not do this is twig, and it is annoying that I frequently get Twig 2 docs as the most prominent in search results, despite the fact that version 3 has been out for a long time. I don't want this to be the case for Craft 4.
The only real hiccup I am aware of for this is that a few doc pages from the old version may not exist for the new version. You would have to make sure these are redirected appropriately.
Beta Was this translation helpful? Give feedback.
All reactions