Pretty URLs

Site update

January 17th, 2009, 10:15 am
Tags: mysql php SEO

Just updated the software on this site in order to use the date and title of an article as an argument to the URL, rather than the article's id. The id is not only non-descriptive, it's also SEO unfriendly (not that any search engines have found this yet...).

Now instead of seeing something like "http://blog.orangellous.com/index.php?article_id=2" you should see something like "http://blog.orangellous.com/index.php?article=2009_01_17_Pretty_URLs".

It's a minor change and comes with the caveat that if write two articles on the same day with the same title, I'll only be able to retrieve the first, but to be honest, if I do something like that I should be punished severely anyhow.

One other quick edit - I've added the number of articles for each month to the archive listing at right. woo.



Leave a Comment

Your name :

Comments:


Please answer the following question to prove that you are a human
What is 1 + 4?



2009 www.orangellous.com

All images, content, and the software used to create this blog are the property of orangellous.com. If you have questions, would like to comment on the site, or are interested in the code used to produce it, please feel free to contact me