pymc-devs / pymc

Bayesian Modeling and Probabilistic Programming in Python
https://docs.pymc.io/
Other
8.72k stars 2.01k forks source link

redirect URL: from "docs.pymc.io" ===> "www.pymc.io" #5996

Open reshamas opened 2 years ago

reshamas commented 2 years ago

Description of your problem

Currently, when we do an internet search for "pymc example notebook", the first (and top results) are this URL: https://docs.pymc.io/en/v3/nb_examples/index.html

More info

Is there any way that the v4 examples can be made more visible via google search? I find that search likes showing docs.PyMC.io but most of these notebooks are v3. The second link PyMC.io contains all the awesome v4 notebooks but it's not obvious it's v4 just from the search. Just wondering how to increase the chances of new users stumbling onto a v4 nb opposed to v3.

Can we redirect that domain? docs.pymc.io -> www.pymc.io/projects/docs/ docs.pymc.io/{more url thing} -> www.pymc.io/projects/docs/{same more url thing}

cc: @twiecki @OriolAbril @conorhassan


Screen Shot 2022-07-22 at 1 36 41 PM
OriolAbril commented 2 years ago

I have no idea how any of the redirections work, but that would be immensely helpful. Currently, the docs.pymc.io links should work, but only as redirects, once the user lands on the page, the url should be www.pymc.io/{things}.

What I know how to do and is relatively easy is updating the 404 page if you think updating the text or links there could help make the transition more smooth. 404 page comes from https://github.com/pymc-devs/pymc/blob/main/docs/source/404.md and https://github.com/pymc-devs/pymc.io/blob/main/404.md