
Wouldn’t it be great if after publishing new content on your WordPress website or blog, the following took place … all from your post address:
- Potential site visitors could quickly assess what your post is about,
- Search engines could discover your pages faster,
- Every post created on your website or blog would have a unique ID, making things easier to manage.
Well, with permalinks this is very easy to do!
How To Set Up And Use WordPress Permalinks
Permalinks – Definition
A permalink is the permanent URL to your individual posts, categories and other taxonomies (a way to group things together) like archives.
A permalink is the URL that others will use to link to articles or sections of your site or the links you send in emails pointing readers to a specific post on your website. Permalinks are often called “pretty” URLs.
Permalinks make the URL pointing to each post on your site permanent, hence a permalink.
Permalinks – Why Do You Need To Use Them?
As you have probably heard by now, WordPress is one of the best CMS applications available when it comes to SEO.
WordPress is not only great for SEO out of the box, but the SEO aspect can be further finetuned using excellent SEO plugins.
If you are looking to optimize the SEO aspect of your website, then you should not ignore the importance of your URLs. Search engines like Google tend to give special consideration to the structure of your site’s URLs when indexing its pages.
Permalinks can be used to turn links on your site into “search engine friendly” URLs. Permalinks can also improve the aesthetics, usability, and forward-compatibility of your links.
Now … let’s review why it’s best to set up permalinks when publishing content in WordPress.
Typically, a default WordPress installation uses a non-search engine friendly URL structure for your posts that looks like this …
WordPress uses the above link structure to find information within its database. It does not mean much to anyone, and it doesn’t help your website with on-site SEO.
As the screenshot below shows, many WordPress site owners haven’t set up their permalinks …

Although Google is clearly still indexing the above sites, they are potentially missing out on extra SEO benefits.
To get the greatest SEO benefit out of using and improve your site’s traffic results, you will want to make sure to set up your permalinks structure to make it more SEO-friendly by displaying relevant keywords in your URL, instead of meaningless numbers and symbols.
WordPress lets you create a custom URL structure for your published and archived posts, so your pages can go from this …

To this …

Out of the box, WordPress post URLs are not very search engine-friendly. In this step-by-step tutorial, you will learn how to configure the Permalinks section of your WordPress site to display your posts using search engine-friendly URLs.
Setting Up WordPress Permalinks
In your WordPress admin select, Settings > Permalinks …

This will bring up the Permalink Settings screen …

As mentioned earlier, by default WordPress web URLs use characters like question marks and numbers to create unique Post Ids and URLs. We want to create “pretty” permalinks instead for our posts. To do this, we need to specify a different Permalink structure than the default.
Common Permalink Settings
In the Common Settings section, select Custom Structure, then add one or more ‘tags’ (see below) to create SEO-friendly URLs …

(Set up your permalink settings to create search engine-friendly URLs)
If you use the custom permalink structure shown in the example above, your URL would look something like this:
http://www.mytravelsite.com/cruise-travel/top-european-river-cruise-destinations
Instead of this …
http://www.mytravelsite.com/?p=6160

(Using post name permalinks helps search engines and readers understand what the content is about)
How To Create Pretty WordPress URLs
“Pretty” permalinks, or search engine-friendly URLs, are created by adding one or more ‘tags’ in the Custom Structure field:
- %year% – The year the post is published, four digits (e.g. ‘2010’)
- %monthnum% – Month of the year (e.g. ‘02’)
- %day% – Day of the month (e.g. ‘01’)
- %hour% – Hour of the day (e.g. ‘07’)
- %minute% – The minute your post gets published (e.g. ‘33’)
- %second% – Second of the minute (e.g. ‘12’)
- %post_id% – The unique ID # of the post (e.g. ‘3401’)
- %postname% – A sanitized version of the post title. For example, if your post title is ”Ten Signs That You’re About To Get Fired From Your Job!”, the postname tag will convert this into “ten-signs-that-youre-about-to-get-fired-from-your-job” (all lower case characters and removed exclamation marks) in the URL. Tip: You can edit the URL wording in the post slug field on the Add/Edit Post/Page screens.
- %category% – A correctly formatted version of the category name. Nested sub-categories appear as nested directories in the URI (Uniform Resource Identifier – the string of characters used in the URL). Tip: You can edit this text in the category slug field in the New/Edit Category screens.
- %author% – A sanitized version of the author name.
Note: When using multiple tags, separate each tag using a ‘/’ (forward slash), or hyphen.
For a quick setup, choose the Custom Structure option, and enter the code below into the ‘Custom Structure’ field …

Or, use one of the following structures:

![]()
Tip: If you want search engine friendly URLs for your posts, but don’t want to use a custom permalink structure using tags, then choose Common Settings > Post name instead …

Choosing ‘Post name’ is the same as selecting the ‘Custom Structure’ option and adding the /%postname%/ tag.
Optional Permalink Settings

Here you can set up custom structures for your tag and category page URLs.
This changes the ‘base’ tag or category URLs using the following syntax:
- domain.com/category_base/category_name
- domain.com/tag_base/tag_name
For example, using “news” as your category base will display your category links as ‘http://domain.com/news/uncategorized/’.
So, if you make the following change in your permalinks Optional > Category base settings field …

Your ‘category archives’ page URL will go from this …

To this …

If you leave the optional settings fields blank the defaults will be used.
Remember to save your changes when done …

Permalinks – Useful Tips
Sometimes, when you are creating a new post and haven’t given the content a post title yet, the WordPress Autosave feature will save your draft with an assigned numerical permalink (see the example URL in the screenshot below) …

To fix this and give the post its proper permalink, go to ‘Edit Post’ …

Click on the ‘Edit’ button in the post slug section …

Select all content in the post slug field and delete it …

Click ‘OK’ …

The post slug entry will be replaced with the correct permalink based on your post title …

Here is a quick recap of the process …

Remember to update your post to save the changes …

Your permalink should now reflect the new post title …

Note also that when you change the URL of a published post, you should also create a redirect link …

If you change your post title at a later date (e.g. you think of a more compelling post title or use a headline generator tool to help you come up with some killer post titles), remember to fix the permalink to match the new post title and add a redirection to the new post URL …

Make sure that your permalinks match the titles of your posts and pages to help site visitors find what they are looking for and ensure that search engines will better index your content …

Permalinks – Additional Information
Set Up Your Categories
To get the greatest benefit out of using Permalinks, remember to set up your WordPress Categories correctly. If you do not have any categories set up, WordPress will use the default category (uncategorized).
According to WordPress SEO expert Joost de Valk, here are a few things to consider if you are wondering whether or not to add categories to your permalink structure:
- If your domain is short and your category is short and descriptive (e.g. uses a relevant keyword or keyword phrase), you may want to add categories to your permalink.
- If your post slug (the part of your URL that identifies your post) is too long, it can make your post URL harder to share or copy and decrease the SEO benefit.
- If you are going to post content under multiple categories, then we recommend not using the category tag in your permalink structure.
Ultimately, when it comes to category vs no category there really is no ideal permalink structure to use. We recommend choosing the permalink structure you think will suit your site best and that will make your post URLs short enough to be attractive and long enough to be descriptive.
We provide more information about WordPress categories in other articles.
Don’t Use Date Permalinks
Another great tip from Joost de Valk is that unless your website provides news or time-specific information, or you have any special reason to date your site’s content, avoid using date-based permalink settings when configuring your site’s URLs.

(Avoid setting up permalinks that time-stamp your content)
People are less likely to click on posts that are a couple of years old, even if the content is relevant to what they are searching for.
Changing Permalinks In An Established Site
Normally, your site’s permalinks should be configured when you perform a new WordPress installation. This should be part of your site planning process.
![]()
If your site has been running for a while or your site already has a lot of content indexed in the search engines and you would like to change the permalink structure, make sure that this is really necessary, as changing permalinks after your site has been up and running for a while can create issues and errors.
Use 301 Redirects
As you’ve seen in earlier screenshots, many WordPress users (or their web developers) are unaware of the SEO-friendly URLs feature of WordPress.
Maybe when you started, your site used the default WordPress URL structure and now you would like to optimize your site better for search engines. Maybe your website or blog was originally set up to display post dates in your URLs and now all of your posts are showing as being two or three years old and you want to remove the date tags in your permalinks.
To modify your permalinks without negatively impacting your site’s SEO or rankings you should use ‘301 redirections’ to point all links set up using the previous permalinks syntax to web addresses that use the new syntax.
Search engines interpret a ’301′ code as a link that has been permanently relocated to another address. 301 redirection is the most efficient and search engine friendly way to redirect users to new site destinations and avoid running into page errors if clicking on an old link.
To create an effective syntax change and avoid SEO problems, sending visitors to broken links, etc. you should set up a redirection system before messing with the permalink structure of your site.
You can site or blog using WP plugins like Simple 301 Redirects, or Redirection, or use the services of a professional to help you set up and redirect your permalinks correctly to avoid issues and troubleshoot any errors.

(Set up 301 redirections using redirection plugins or use the services of a professional)
Congratulations! Now you know how to configure your WordPress site or blog to display SEO-friendly URLs for your posts and improve your search results. To learn more about using Permalinks, see the official WordPress documentation here:
http://codex.wordpress.org/Using_Permalinks
***
"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya