joshreisner / poverty-history

0 stars 2 forks source link

Some Timeline Links Broken #184

Closed joshreisner closed 11 years ago

joshreisner commented 11 years ago

Because of an issue that started about six weeks ago and was resolved in #176, the site's permalinks scheme was temporarily /archives/%post_id% as that was the only permalinks scheme that worked.

Links added inside post content during that time have bad URLs. I believe I can write a script to detect these, but some manual replacements will be required.

joshreisner commented 11 years ago

Um @jtancil so there are kind of a lot of these -- I guess WP decided to crack out around the time they entered 90% of their content.

http://povertyhistory.org/links

I'm happy to be the one to go through and fix these if you think that's a good idea. I could also write a script to fish out the URLs and try to correct them programmatically, but I'm not sure how long that would take and can't be confident that it worked in all cases. Meanwhile fixing 160 or so posts manually would only take an hour or two.

joshreisner commented 11 years ago

... however I should note that at the end of fixing these 160, we can't be confident that all the links in all the other posts would necessarily work -- just that they wouldn't be on the old permalink scheme. The regex link-checker (hey, maybe there's a plugin?) would be able to check for the existence of a valid internal URL.

joshreisner commented 11 years ago

http://wordpress.org/plugins/broken-link-checker/

jtancil commented 11 years ago

I say go for it, yes.

On Fri, Sep 27, 2013 at 3:34 PM, Josh Reisner notifications@github.comwrote:

http://wordpress.org/plugins/broken-link-checker/

— Reply to this email directly or view it on GitHubhttps://github.com/joshreisner/icph/issues/184#issuecomment-25271116 .

Jeff Tancil | TancilTown Media 328 E. 7th Street Brooklyn NY 11218 347-307-6474

joshreisner commented 11 years ago

Well it's a bit strange. I installed the plugin on my dev environment and it worked, although it only found 59 broken links. I installed it on the live server and it hasn't found any yet.

joshreisner commented 11 years ago

They're fixed now. Link fixer!