Tag Archive: urls

New Permalink Structure

By Richard X. Thripp at 2010-08-02T00:31:49Z in Technology, with these tags: links, richard x. thripp, thripp.com, urls, 0 Comments. 225 words.

I changed the WordPress permalink structure for this blog from “/%postname%-%post_id%” to “/%year%/%monthnum%/%postname%/”, after nearly three years with the old URLs. This is what most WordPress blogs use, and I understand the wisdom of using a trailing slash which indicates directory status with non-virtual URLs, implies the end of the URL, and is expected by most users. Including the post ID was a stupid mistake. I was copying what deviantART does in its post URLs, but the month and date are far better than a meaningless number.

This also matches what I did on my new blog, Composer’s Journey.

The hard part was redirecting all the old URLs to the new URLs. I ended up changing the core file /wp-admin/includes/post.php: where it says “posts_per_page=15″ I substituted “posts_per_page=500″. Then I opened a copy of my Manage Posts screen with the old URLs, changed permalink structures to the new URLs, opened a new tab with the Manage Post screen, changed back to the old permalinks, and started copying and pasting the permalinks into a CSV file which I imported into the Redirection plugin. I redirected the original posts and the printable version links, but I was not able to get the comment RSS feed links to redirect (got stuck in an endless loop). No one uses those, fortunately. Copying and pasting 848 URLs was no picnic.

Enjoy the new URLs!

Post to Twitter Post to Bebo Post to Delicious Post to Digg Post to Facebook Post to FriendFeed Post to Google Buzz Send Gmail Post to LinkedIn Post to MySpace Post to Ping.fm Post to Reddit Post to Slashdot Post to Squidoo Post to StumbleUpon

How to give file names to your photos

By Richard X. Thripp at 2008-06-08T21:02:14Z in Library Science, Photography Articles, with these tags: dam, exif, files, internet, librarianship, metadata, theory, time, urls, 10 Comments. 4541 words.

This is a lengthy post (~4500 words). I cover file names in great detail, but go much further into the differences between a literal and abstract asset management system (descriptive file names vs. not), spend many paragraphs debunking time zones, daylight time, traditional date formatting, and use 500 words to debate underscores vs. hyphens vs. spaces to break up words in your web addresses. The implications go way beyond mere file names. Read on if you’re in for a adventure . . .

I don’t like that all the articles I read on organizing your photos recommend giving them descriptive file names. The problem with files and directories is that they’re just like their non-computerized equivalents: rigid and inflexible. Your photo cannot appear under “flowers” and “macros,” because a file can only belong to one folder. Similarly, it can only have one file name, and if you fill that with keywords so you can use the Windows search to find it, the name becomes long and unwieldy. Plus, if you take a lot of photos (I’m averaging 500 a month), it’s totally impractical.

Why is it impractical? Because you’re restricted in length and taxonomy, there are no connections between files besides rigid folders and rudimentary keyword searches, and you’re adding metadata in a bad place, because the file name should be the unique and persistent identifier for the image. If you want to change all your pictures of “cars” to “automobiles,” you’re in trouble. Every time your taxonomy scheme changes, you have to change dozens of file names. This is fine if you’re the average, uninformed user: you have one copy of each photo in “My Pictures” on your hard drive, and that’s all that exists. But even then, unless you’re use batch renaming software like 1-4a rename (the biggest kludge …

Post to Twitter Post to Bebo Post to Delicious Post to Digg Post to Facebook Post to FriendFeed Post to Google Buzz Send Gmail Post to LinkedIn Post to MySpace Post to Ping.fm Post to Reddit Post to Slashdot Post to Squidoo Post to StumbleUpon