Clicky

Mini Guide

Step 16 - Permalinks WordPress Settings

Make changes to WordPress Permalink Settings
You can choose to set your permalinks to just Post name if you wish, in which case you would select the Post name option.   However,  I don’t do that.  I prefer to use a custom structure of /%post_id%/%postname%/

My settings look like this :

Permalinks with postid
Permalinks with postid

More Information

I use a custom structure of /%post_id%/%postname%/ because it removes ambiguity and in my opinion, makes running a site day-to-day, easier.   

I don't know if it interferes with Google’s view of a URL for SEO purposes.  I don’t believe so, but you must come to your own conclusion.

Take the example of the Yoast website where I found a selection of blog posts with the following URLs:

  1. https://yoast.com/what-is-a-keyword/
  2. https://yoast.com/what-is-a-keyword-strategy/
  3. https://yoast.com/what-is-a-redirect/
  4. https://yoast.com/what-is-a-permalink/
  5. https://yoast.com/what-is-a-headless-cms/
  6. https://yoast.com/what-is-a-progressive-web-app-pwa/

The above URLs all use the post name to form a slug, which is then used in the URL.  To visit the second page listed - the page about keyword strategy - you would have to type most of the following URL, https://yoast.com/what-is-a-keyword-strategy/, in order to ensure you ended up at the right page.  

This is because the URL is very similar to other URLs on the site as shown in the list above.  Unless you type practically the full URL in each case, WordPress would have no idea which page you wanted to visit due to the majority of each of the URLs being the same.  

However if the postid is included you can visit a page using only its id. So if the URL were

https://yoast.com/123/what-is-a-keyword-strategy/ - all you would have to type is https://yoast.com/123 (assuming you set your site up to do this OR use our plugin which has a checkbox to enable this functionality)

This helps when typing URLs, say, into mobile phones, or when communicating a URL to someone using voice. It’s much easier to type https://yoursite.com/123 than https://yoursite.com/what-is-a-progressive-web-app-pwa/

An added benefit is that you can change the slug used in your post URL at will, for SEO purposes (should you ever need to) without having to set up a redirect after each change.
To be clear - the /%postname%/ permalink may or may not be better for SEO.  I suspect it makes no practical difference, but I have not tested it so I do not know. However, for the reasons outlined above, I prefer the flexibility of the /%post_id%/%postname%/

Other Steps In This Mini Guide

Step 01 - Getting Started

Visit This Step

Step 02 - Decide On Your Logo

Visit This Step

Step 03 - Domains, Hosts, DNS

Visit This Step

Step 04 - Install A WordPress Theme

Visit This Step

Step 05 - Install WordPress

Visit This Step

Step 06 - WordPress User Settings

Visit This Step

Step 07 - Install Essential Plugins

Visit This Step

Step 08 - Activate Oxygen For The First Time

Visit This Step

Step 09 - Create A Home Page

Visit This Step

Step 10 - Theme Styles Settings

Visit This Step

Step 11 - Create Blog Category

Visit This Step

Step 12 - General WordPress Settings

Visit This Step

Step 13 Reading WordPress Settings

Visit This Step

Step 14 - Discussion WordPress Settings

Visit This Step

Step 15 - Media WordPress Settings

Visit This Step

Step 17 - Add Favicon

Visit This Step

Step 18 - Activate The SEO Plugin

Visit This Step

Step 19 - Create Some Essential Pages

Visit This Step

Step 20 - Create WordPress Menus

Visit This Step

Step 21 - Add Oxygen Templates

Visit This Step