A WordPress permalink determines the link format for all links on the site. Getting this right is very important. The earlier you set this when setting up your blog, the better.
Click on Settings → Permalinks option from the left navigation menu.
The permalinks page appears as below:
The settings options are as follows:
- Common settings −Select any of the options to choose the permalink structure for your blog/website
- Default − It sets the default URL structure in WordPress. It appends the page ID to the permalink, using what is technically known as a query parameter.
- Day and name − It sets the URL structure to include the day (year, month, day), and slug (or short name) of your post.
- Month and name − This is similar to the day and name, except that it just includes the year and month, without the day
- Numeric − The URL structure at this point includes the word “archive” and the post ID
- Post name − The URL structure at this point includes just the post name in slug format (small letters separating each word by a dash). Each post name has a unique structure. In a case where two posts have the same name, the other will have the word “2” etc appended to it. This is the most recommended format for most blogs.
- Custom Structure − It allows you to state a custom structure for your URL.
- Optional: At this point you are allowed to select a custom prefix for categories and tags that will be used for the URL. For example, if it is a zoo site, you may add a base as animal and tag as color etc.
- Category Base − Add custom prefix for your category URL.
- Tag Base − Add custom prefix to your Tags URL.
Remember to click on the Save Changes button to save all that you’ve edited on your Permalink settings page.