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

Archive links 404 on single digit dates in 2010 #15

Closed
n1vux opened this issue May 29, 2014 · 4 comments
Closed

Archive links 404 on single digit dates in 2010 #15

n1vux opened this issue May 29, 2014 · 4 comments
Labels

Comments

@n1vux
Copy link
Contributor

n1vux commented May 29, 2014

As noted in comment on #4 , but simpler to solve (and currently visitor visible), so maybe this deserves a separate issue:

Archives pages http://perladvent.org/archives-Yd.html and ./archives-AZ.html are linking to 2010 uniformly as ./2010/dd but the pages are at ./2010/9/ , so there are (at least) 9 pages that appear to 404 from the Archive link.

Could be fixed with rewrite, symlink, meta redirect, or just editing the two Archives files to add q(0)x9 each.

(IIRC on the 2nd generation of Advent's PM.org WEBdav server, we had symlinks instead of rewrite rules. My peek at Archives today was prompted by PM.org discussion about moving that static service to "Grandfathered" twighlight status.)

@oalders
Copy link
Contributor

oalders commented Jul 11, 2022

We should add a script to crawl the deployed site for 404s.

@oalders oalders added the QA label Jul 11, 2022
@oalders
Copy link
Contributor

oalders commented Jul 14, 2022

Here's a rough idea of the problem.

Page,Link,HTTP Status Code

http://perladvent.org/2011/2011-12-25.html,https://perladvent.org/2011/favicon.ico,404
http://perladvent.org/2012/2012-12-25.html,https://perladvent.org/2012/favicon.ico,404
http://perladvent.org/2013/2013-12-25.html,https://perladvent.org/2013/favicon.ico,404
http://perladvent.org/2014/2014-12-25.html,https://perladvent.org/2014/favicon.ico,404
https://perladvent.org/2000/02,https://perladvent.org/2000/2nd,404
https://perladvent.org/2000/15/,https://perladvent.org/Pod/Usage.html,404
https://perladvent.org/2000/20/,https://perladvent.org/Inline/C/Tutorial.html,404
https://perladvent.org/2000/20/,https://perladvent.org/Inline/Config.html,404
https://perladvent.org/2001/text.html,https://perladvent.org/2001/%3E[advent%20picture]%3C/a%3E%3C/div%3E%0D%0A%0D%0A%3Cbr/%3E%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%3C!--%20Created%202004-12-21T18:30:02%20--%3E%0D%0A%0D%0A%3Cbr/%3E%0D%0A%0D%0A%3Cdiv%20class=,404
https://perladvent.org/2002/18th/,https://perladvent.org/2002/18th/authors.html,404
https://perladvent.org/2002/7th/,https://perladvent.org/2002/7th/chart.html,404
https://perladvent.org/2003/7th/,https://perladvent.org/about,404
https://perladvent.org/2003/7th/,https://perladvent.org/mirrors,404
https://perladvent.org/2003/7th/,https://perladvent.org/news,404
https://perladvent.org/2003/7th/,https://perladvent.org/rss,404
https://perladvent.org/2005/16/,https://perladvent.org/2005/yapac-rss.xml,404
https://perladvent.org/2005/16/mod16.pl,https://perladvent.org/(.*?),404
https://perladvent.org/2005/16/mod16.pl,https://perladvent.org/%7Dsg%0D%0A%20%20%20%20%20%20,404
https://perladvent.org/2006/21/mod21A.html,https://perladvent.org/2006/21/Acme-Santa-pm--subroutine.html,404
https://perladvent.org/2006/21/mod21A.html,https://perladvent.org/2006/21/Acme-Santa-pm--branch.html,404
https://perladvent.org/2006/21/mod21A.html,https://perladvent.org/2006/21/Acme-Santa-pm.html,404
https://perladvent.org/2006/21/mod21A.html,https://perladvent.org/2006/21/Acme-Santa-pm--condition.html,404
https://perladvent.org/2006/3/,https://perladvent.org/advent,404
https://perladvent.org/2007/1/get_links.pl,https://perladvent.org/2007/1/(.*?),404
https://perladvent.org/2007/1/mod1d.pl,https://perladvent.org/2007/1/%s,400
https://perladvent.org/2007/17/mod17.pm,https://perladvent.org/2007/17/%s,400
https://perladvent.org/2007/18/,https://perladvent.org/2007/18/slowcat.pl,404
https://perladvent.org/2007/24/,https://perladvent.org/2007/24/mod24.pl,404
https://perladvent.org/2007/6/,https://perladvent.org/2007/6/mod5.pl,404
https://perladvent.org/2008/1/,https://perladvent.org/2008/1/mod1.pod,404
https://perladvent.org/2008/18/,https://perladvent.org/2008/18/mod18b.pl,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/6/4/,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/contact.html,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/FAQ.html,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/6/RSS.xml,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/6/splash.css,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/archives.html,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/6/3/,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/6/1/,404
https://perladvent.org/2009/6/result-diff.txt,https://perladvent.org/2009/6/2/,404
https://perladvent.org/FAQ-submit.html,https://perladvent.org/../2005/,400
https://perladvent.org/FAQ-submit.html,https://perladvent.org/../FAQ.html,400
https://perladvent.org/FAQ-submit.html,https://perladvent.org/../contact.html,400
https://perladvent.org/FAQ-submit.html,https://perladvent.org/../archives-AZ.html,400
https://perladvent.org/FAQ-submit.html,https://perladvent.org/../2006/,400
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/08,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/05,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/06,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/04,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/03,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/01,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/02,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/09,404
https://perladvent.org/archives-Yd.html,https://perladvent.org/2010/07,404

@simbabque
Copy link
Contributor

We could throw https://metacpan.org/pod/Test::Pod::No404s at the articles. Maybe we can even write a test suite for them and have a github action that runs on article PRs.

@oalders
Copy link
Contributor

oalders commented Nov 30, 2022

I believe this is fixed now.

@oalders oalders closed this as completed Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants