Stupid URIs

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:

Filters

Backwards

http://localhost/wp-test/5002/80/30/dlrow-olleh

Query variables are reversed.

Zxy

http://localhost/wp-test/2005/08/03/svool-dliow

'a' becomes 'z', 'b' becomes 'y', and so forth.

Morse

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.)

Banshee

http://localhost/wp-test/iiieieieiiiiii/ieiiiiiiiii/ieiiii/iaiiiiiiiieiaii
iiieiiaiieiiaiieiiaiiiiieiiiaiiiiiiieiiiaiiieiiaiiiiieiiaiiiiiiiieiiaiieiaiiii

Or, "Whitney Houston Concert". (Broken up due to length.)

Download

No, not another one. Download the plugin here. Let us never speak of it again.

Miscellaneous

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!)

Contact

Do not contact me about this. Ever. I like to pretend that it doesn't exist.