Photos / of

Photos are back, now with pretty URLs. This was achieved with mod_rewrite and a line in .htaccess:

RewriteRule ^photos/of/(.*)/([0-9]+)$

/photos/album.php?directory=$1&photo=$2

(on one line)

That line takes the info from the album script’s query string and puts them into the new URL, thus hiding default cruft. The result: friendlier, more human navigation.

(I’ve tested it, but please inform me if any problems are encountered.)