The other day I went on 4 or 5 toot rant on Twitter about issues I often come across in websites I visit.1 It was a bit of a letting off of steam and on Twitter, were you’re limited to 140 characters, it’s not that helpful since I just complained and didn’t provide any real solutions to the issues I was complaining about.
When you first setup a WordPress website/blog/etc., the pages and posts you create all get a unique URL 2 which is great. Helps computers and people to be able to tell the different pieces of content apart. The problem is that the default setting is for the URL to look something like www.websitename.com/?p=123 and www.websitename.com/?p=124. Not very easy to tell what kind of page you’re getting when you visit that URL, nor is it easy to tell someone later on to just go to www.websitename.com/?p=123 to find the information you need.
Luckily, as with most thing WordPress related, the solution is pretty simple. Here’s the xx step process to make your URLs look nice for everyone.
- Login to the WordPress admin
- Go to “Settings” and then “Permalinks” (should be something like http://www.website.com/wp-admin/options-permalink.php)
- Choose “Month and Name” (My personal preference but “Day and Name” works too)
- Click “Save Changes”
Once you do that, WordPress will automagically change page links from things like www.website.com/?page_id=2 to the more human readable and easier to remember www.website.com/about/ for Pages and www.website.com/2012/01/title-of-post for Posts.
It makes Google happier for search results3 and makes your users happy because they can navigate and find things on your website much quicker and easier.
- I’ve since deleted most of the toots because, as was pointed out to me by my assistant, they might be construed as me coming off as an arrogant web jerk. And I don’t want to come off as a web jerk. Arrogant, yes. But arrogant web jerk, no. That’s where I draw the line. ↩
- URL is the address of a page on the web. i.e. http://www.lemonproductions.ca is the URL of my website. ↩
- SEO experts aside. ↩