- Notifications
You must be signed in to change notification settings - Fork54
ENH: link stable sitemap#48
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ad3532f
to1051ec9
CompareSomeone who understands |
BTW do we want /stable/ or /latest/? I guess I like |
Definitely p.s. I'm half following all of this, thanks a lot for the PRs! |
2df234b
toe0a5434
Compare<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<url> | ||
<loc>http://matplotlib.org/stable/</loc> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Note these should really have a<last-modified>
tag, but I think they will work without.
A way forward to redirect root level instead of replacing root level by soft links to <!DOCTYPE HTML><htmllang="en"><head><metacharset="utf-8"><metahttp-equiv="refresh"content="0;url={{NEWEST_VERSION}}/PATH"/><linkrel="canonical"href="{{NEWEST_VERSION}}/PATH"/></head><body><h1> The page been moved to<ahref="{{NEWEST_VERSION}}/PATH"</a></h1></body></html> Yet another option is change the hosting from GitHub pages, and be able to include our own |
QuLogic commentedJan 20, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This seems pretty reasonable, but all I did was read the docs that you linked, so I don't know about the SEO implications. You may have missed a few project subdirectories:
I have some ideas of how to proceed on the redirects now, but no time to try them just yet. Maybe after the 3.4.0 release candidate. |
Great I can add those. But how do you know those are all there? I can see how the main docs are built, but how do the other ones get injected? Do they just have GitHub pages that deploy onto ours? |
Any repo at |
Uh oh!
There was an error while loading.Please reload this page.
Much pared-down version of#47.
Instead of redirecting the whole root tree, it now simply takes root out of the canonical search path in
sitemap.xml
androbots.txt
, and instead suggests going to the softlinkedstable->3.3.3
.sitemap.xml
androbots.txt
would need to be manually updated at release (though robots.txt should be fine until Matplotlib 6).Todo:
matplotlib.org/stable/