Benjamin Charity

Customizing Your WordPress Permalinks

December 3rd 2009

1. From the WordPress dashboard, hover over the Settings tab and click the arrow that appears on the right hand side of the tab to expand the menu down.

Expand the post tab
Expand the post tab.

2. Click on the 'Permalinks' menu option.

Choose the permalinks section
Choose the permalinks section.

3. Choose your permalink settings.

Set your permalink structure
Set your permalink structure.

Available structure tag:

  • %year%
  • %monthnum%
  • %day%
  • %hour%
  • %minute%
  • %second%
  • %postname%
  • %post_id%
  • %category%
  • %tag%
  • %author%

So to give you an example, lets imagine you published a post in 2009, named My New Post which had the ID of 321 and the author was greg and it was posted in the category News.

This structure: %year%/%author%/%post_id% would display like this: 2009/greg/321

And this structure: %year%/%category%/%postname%` would display like this: 2009/news/my-new-post

Note: The slashes / that I added are optional. I use them because it makes the URL easier to read and remember. If you left them out of our second example it would look like this: 2009newsmy-new-post.

If you are looking for some more reading, and a full rundown on the available permalink structure tag and the different combinations, visit the official WordPress page Using Permalinks.