Old broken links

At some point SB moved wordpress versions, and when this occurred old links broke. Every now and again when I come across an old post I fix them up, but you can't, so here is the sekret decoder ring. Things like:

http://scienceblogs.com/stoat/2007/11/hansen_again.php

turn into

http://scienceblogs.com/stoat/2007/11/23/hansen-again/

Which is annoying, because whilst you can get from "new" to "old" by s/-/_/g, removing the extra number and adding ".php", you can't get from old to new without knowing the number. Argh! But, it turns out the server has been taught some intelligence, because

http://scienceblogs.com/stoat/2007/11/hansen-again/

does work; it redirects to "new". Don't forget s/_/-/g.

More like this

Maurice Strong has expired with a sense of timing that recalls Metternich's response to rumours his arch rival had died en route to the Congress of Vienna:

" Tallyrand dead --what can he have meant by dying at a time such as this?"

By Russell Seitz (not verified) on 29 Nov 2015 #permalink

You can set up the .htaccess file to automatically change the "_" to "-" and redirect

[Nice idea but I'm pretty sure I don't have access to .htaccess -W]

By David Sanger (not verified) on 30 Nov 2015 #permalink