What’s The Best Permalink Structure For A WordPress Blog?
As soon as you open a fresh install of WordPress, there are a few settings that must be configured before you go to work on anything else. One of those things is your permalink structure.
If you prefer to watch a short video on permalink structure, where I also show you click-by-click on how to edit it, then click the video below. Alternatively, you can follow along with the rest of this post.
Click here for the full video series, How To Build A WordPress Website From Scratch, No Coding Required
What is a permalink?
Permalinks are the URLs that are given to your posts and pages. For example, the permalink for this post is
These links are permanent (hence the name, perma-link) and they do not change with time unless edited manually.
When you first start your WordPress website, the default permalink structure that you are given looks something like this
That is not SEO friendly permalink, therefore newbie website builders and bloggers will find it harder to gain traction and get ranked in search engines with this type of permalink structure.
How do permalinks affect SEO?
SEO is the short-hand term for Search Engine Optimisation. The better your SEO is, the better your website can be picked up by search engines such as Google, Bing and Yahoo. Therefore, increasing your organic traffic.
A major on-page SEO point that is worth noting is to ensure that your keyword appears in your post’s URL (permalink).
If you use the default settings of WordPress, then this will not happen, resulting in a permalink that is not SEO friendly…and frankly, rather ugly.
Log into your WordPress dashboard and go to Settings > Permalinks
From here you can see a list of common settings, along with the option to create a custom structure. As mentioned above, the default setting is https://mydomain.com/?p=123, which is the first setting, ‘Plain’.
To help make your website search engine and user-friendly, we must change this.
If you have already begun your WordPress website and you are wanting to change the permalinks after you have published some posts and pages, you can still do this. However, any internal links and backlinks may no longer work and may result in 404 Page Not Found errors.
To help correct this issue you will have to set up a 301 redirection from the old URL to the new URL. Click here to find out more about 301 redirects and how to set them up.
I recommend selecting Post Name as your permalink structure https://mydomain.com/sample-post/
All you need to do is select the Post Name option, and then click Save Changes at the bottom of the page. And that’s it, say hello to your new SEO friendly permalink.
You may notice that I use a custom structure containing the post’s category followed by the post’s name. I do this because I use the category to segregate my site’s Push Notifications (more on that coming shortly too).
To do this, I edit the Custom Structure to contain: /%category%/%postname%/
You can also use this structure, but please be aware that it leaves you open to easily duplicating content.
What is duplicated content?
Duplicated content is a page that can be accessed by two different URLs.
If you use the custom structure containing the post’s category and you classify that post into two categories, then the exact same piece of content would be available from two separate URL’s.
https://mydomain.com/category-A/sample-post/ AND https://mydomain.com/category-B/sample-post/
This is known as duplicated content and as far as Google sees it, you’re just clogging up the internet.
The reason that this is a problem for Google and your websites SEO is because when someone does a search on Google, Google has to decide what results to show.
To do this, Google will look at all the information on your website and it’s pages and posts. If two URL’s contain the exact same content, then Google will not show both of those pages in the search results because it is not helpful to the user searching.
Therefore, Google will drop one of the pages and only show one result.
Since this duplicated content is not helpful to Google – after all, the last thing Google wants is to have multiple web pages to search through that all contain the same information – then your content may be penalised by search engines.
If you do want to use the custom structure containing the category, then when you create your posts, you MUST ensure that you classify them into one category only to avoid duplicated content and the possibility of being penalised.
Therefore, I recommend that if you are just starting out, set your permalink structure to Post Name: https://mydomain.com/sample-post/
This helps to keep things simple and to the point, and it avoids adding any extra bits that may affect your on-page SEO score.
Other simple tips
Here are a few other little tips to note to help keep your permalinks SEO friendly.
- Use dashes (-) instead of underscores (_)
- When writing your posts, ensure that your keyword appears in the post’s title (and therefore URL)
- Remove ‘stop words’ from your permalink (such as ‘a’, ‘we’ and ‘are’)
If there is anything else that I missed, please let me know in the comments below and I’ll be sure to add it.
I hope you found this useful and I wish you the best of luck with your WordPress website 🙂
- My Basic Guide To 301 Redirects: What Is It And How To Use It
- 11 Hints and Tips to Get Approved by Google Adsense First Time
- 5 Very Important Reasons Why Your Business Website MUST Have a Blog
- 6 Ways You Can Make Money From Blogging
- How to Start a Self-Hosted WordPress Website – Step-by-Step Guide for Beginners (With Videos)