Old broken links [Stoat]


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://ift.tt/1Ren5tZ

turn into

http://ift.tt/1OJ3OgA

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://ift.tt/1Ren5u1

does work; it redirects to “new”. Don’t forget s/_/-/g.



from ScienceBlogs http://ift.tt/1MMBJ8B

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://ift.tt/1Ren5tZ

turn into

http://ift.tt/1OJ3OgA

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://ift.tt/1Ren5u1

does work; it redirects to “new”. Don’t forget s/_/-/g.



from ScienceBlogs http://ift.tt/1MMBJ8B

Aucun commentaire:

Enregistrer un commentaire