Hate that WordPress produces clean, informative URIs? We can help.
The first post in my test install has this address:
http://localhost/wp-test/2005/08/03/hello-world
With Stupid URIs™, it can become one of these:
http://localhost/wp-test/5002/80/30/dlrow-olleh
Query variables are reversed.
http://localhost/wp-test/2005/08/03/svool-dliow
'a' becomes 'z', 'b' becomes 'y', and so forth.
http://localhost/wp-test/..---_-----_-----_....._/-----_---.._/
-----_...--/...._._.-.._.-.._---_------_.--_---_.-._.-.._-.._
We used to travel forty miles in the snow to send our web-blog posts up the wire, one letter at a time. (Broken up due to length.)
http://localhost/wp-test/iiieieieiiiiii/ieiiiiiiiii/ieiiii/iaiiiiiiiieiaii
iiieiiaiieiiaiieiiaiiiiieiiiaiiiiiiieiiiaiiieiiaiiiiieiiaiiiiiiiieiiaiieiaiiii
Or, "Whitney Houston Concert". (Broken up due to length.)
No, not another one. Download the plugin here. Let us never speak of it again.
To write your own, you just need to extend the base Stupid
class and add methods called encode
and decode
. The code should be easy enough to follow.
It runs Backwards by default; you'll need to change the line
$stupid = new Backwards();
to be new Banshee()
, new Morse()
, or whichever.
Some of the above won't work with anything outside [a-z]
, I think. (Sorry, international characters!)
Do not contact me about this. Ever. I like to pretend that it doesn't exist.