Using Permalinks on your Website
13 Jan
With the dawn of database driven websites and website platforms like WordPress, Drupal, ExpressionEngine and countless others it’s clear that lots of people want to run websites that use database technology to generate web pages. Originally before this trend in web development you would simply host HTML pages on your web hosting server and preserve the URL structure and it would look similar to this…
http://www.mysite.com/category/page.html
Everything was great, then as dynamically driven websites (a.k.a. websites that use databases to grab content and display that content in a generated web page) became more popular there was a problem. The problem was that the URL structure became and looked dynamically generated as well leaving it looking like this…
http://www.mysite.com/?p=881
This left things looking messy, confusing and not very pretty to look at. That’s why they call it an “Ugly Permalink”. So what was the solution to this problem? Pretty Permalinks, of course! But what are permalinks exactly?
Permalinks come from the concept of “Permanence” meaning that people want to link to something that is “permanent” so that they can source it, refer to it or link to it without thinking that it is going to change.
A permalink looks like this…
http://www.mysite.com/my-about-page
So what CMS website platforms support using permalinks? Here is a list that should help you choose a website platform that uses the permalink structure.
- WordPress
- Drupal
- ExpressionEngine
- Moveable Type
- TypePad
- Blogger
Using Permalinks in WordPress
WordPress has done a great job for a while of allowing people to use Permalinks in their blog and website posts and pages and I believe the reason is because they’ve made it easy to use for everyone. If you currently use WordPress for one of your websites and you’ve never tried to customize your permalinks or you don’t know the first place about where to begin then hold on tight. The first thing you need to do is log into your WordPress website and follow these steps…
- Look for the “Settings” section and then look for the “permalinks” section and click on it.

- Next, you’ll see something similar to the screenshot below that allows you to customize your permalinks in WordPress

Depending on how you want to custom your permalink structure you should be able to find a solution that allows you to display URLs the way that you want to show them. If you are interested in all the supported permalink attributes click here to get a list of them that WordPress currently supports then click here.
For those of you that don’t currently use WordPress on your website here are some links to other documentation for different platforms like Drupal, ExpressionEngine and others.
- Permalinks in Drupal
- Creating permalinks in posts using Blogger
- Using the permalink variable in ExpressionEngine
- Publishing Settings in Moveable Type
- Using Permalinks in WordPress
Benefits of Permalinks
Some of the benefits of customizing permalinks include that it can help you in a number of ways like optimizing your URLs for search engines and specific keywords, having a pretty link that people can link to and read, removing the “chronological” structure from your site and allowing you customize the URL as you see fit! It gives you a great amount of choice as to what your readers see, how they see the content and experience your website.
What are post slugs?
No they aren’t the kind of slugs that you find in the garden on your Tomatoes and the term “slug” does really give you a good impression of what it actually does. Simply put, a “Slug” is a one or two word description of a post that is used in the permalinks when you post an entry in WordPress.
How to edit Permalinks in WordPress at the Page or Post level
If you are creating a page or a post in WordPress then you might have noticed once you’ve entered the Page Title or Post Title the Permalink is filled in automatically with the contents of the title you’ve entered.
At the Post level the permalink will include the structure you’ve chosen under Settings > Permalinks mentioned above but at the Page level the only thing included is the contents of the page title. Have a look at what I am talking about…
Page Level Permalink Example
Post Level Permalink Example

Are Hackable Permalinks bad?
A note about “Hackable Permalinks”: “Hackable” Permalinks are permalinks that are easy to break down and allow the user to navigate to a different part of your website easily.
Hacking and being hacked has had a bad reputation associated with it in the computer and internet world but the truth is that Hackable Permalinks are some of the best kinds of permalinks available according to WordPress. WordPress has this to say about Hackable Permalinks…
“The best Permalinks are “Hackable,” meaning a user might modify the link text in their browser to navigate to another section or listing of the weblog.”
Source: WordPress Codex
What are the best permalink structures available?
Having the best permalink structure to your links is up for debate because some people prefer to do some things one way or another and there is no standard out there that says “This is how you produce the best permalinks”. Some of the experts out there have their own ways to produce the “best” permalinks but again this isn’t set in stone because largely what they (the experts) are writing about is what has worked for them.
- SmartBlogTips – Best Permalinks URL structure for your WordPress blog
- Zemalf.com – Quest for the Best Permalink Structure
- EnlightenedWebMastery.com – Best SEO WordPress Permalink Structure
Permalinks is a core topic if you are using a lot of website platform technologies like WordPress that are out there today because they control what types of links you generate and what types of links people can use to link back to your website. Links are the bricks and mortar that hold the web together and paying attention to this means that you will build a stronger and more structurally sound website ready for search engines, referring sites and the people who visit your website.
Luc Arnold
Permalinks are cool and useful!











No comments yet