Permalink Structures in WordPress

Permalink Structures in WordPress

In a previous article, we’ve talked about permalinks, what they are, what their benefits are, and we also saw some examples. In this article, we will talk about permalink structures in WordPress, what do they mean and how you can work with them.

If you run a website on WordPress, if you go to Dashboard, Settings, Permalink, we will something similar to the below screenshot:

Permalink Structures in WordPress - Article on TechHowTos.com

 

As you can see in the above screenshot, WordPress offers you 5 predefined permalink types and a custom one, which basically allows you to set virtually any permalink type you like.

Let’s further discuss each permalink type option along with providing an example of a URL for each one of them:

  • Plain:
    • All your blog post URLs will follow the URL template: https://www.[your-domain-name].com/p-123
  • Day and name:
    • All your blog post URLs will be based on year, month, day and post name and will follow the URL template: https://www.[your-domain-name].com/year/month/day/[post name]
  • Month and name:
    • All your blog post URLs will be based on year, month and post name and will follow the URL template: https://www.[your-domain-name].com/year/month/[post name]
  • Numeric:
    • All your blog post URLs will be based on the word “archive” and post number and will follow the URL template: https://www.[your-domain-name].com/archives/[post number]
  • Post name:
    • All your blog post URLs will be based on the post name and will follow the URL template: https://www.[your-domain-name].com/[post name]
  • Custom Structure:
    • All your blog post URLs will be based on the custom permalink structure that you will set. For this purpose, you can use the available tags WordPress offers, in order to construct the custom permalink structure expression.

For search engine optimization purposes (SEO) the two permalink types that are best to use are:

  • https://www.[your-domain-name].com/[post name]
  • https://www.[your-domain-name].com/%category%/[post name]

Note that you should always try to keep your permalinks as descriptive but also as short as possible.

 

Read Also

 

Rate this article: 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading...

Reference: TechHowTos.com (https://www.techhowtos.com)

© 2018 TechHowTos.com

 

Share this!
About Artemakis Artemiou 30 Articles
Artemakis Artemiou is a Senior SQL Server and Software Architect, Author, and a former Microsoft Data Platform MVP (2009-2018). He has over 15 years of experience in the IT industry in various roles. Artemakis is the founder of SQLNetHub and TechHowTos.com. Artemakis is the creator of the well-known software tools Snippets Generator and DBA Security Advisor. Also, he is the author of many eBooks on SQL Server. Artemakis currently serves as the President of the Cyprus .NET User Group (CDNUG) and the International .NET Association Country Leader for Cyprus (INETA). Artemakis's official website can be found at aartemiou.com.