Friendly URLs

When I’ve had a minute in between essays, I’ve been working on making Timeline’s internal URLs simpler. For example, here is an old-style Timeline URL:

gettimeline.net/viewer.php?imageID=100&view=album

The problem here is that the readability of the URL is low, both for humans and for search engines. With some remapping of parameters in the server’s configuration, we can configure a URL such as the following to redirect internally to the URL above:

gettimeline.net/view/100/album

ThisĀ  gives a much more professional and user-friendly appearance to URLs, as well as helping Timeline URLs to rank more highly in search engines.

One further step is that usernames are now accepted in profile URLs. This means that the following old URL

gettimeline.net/profile.php/userID=1

becomes:

gettimeline.net/profile/mattus

Each user thus has their own profile URL which is easy to remember.

Leave a Reply

You must be logged in to post a comment.