How to set up your WordPress website to use short URLs?
If you want the links of your WordPress website to be friendly and easily readable by your visitors you can enable the Permalinks option. This type of links help to promote your website to search engines as is a good practice of SEO (Search Engine Optimization).
To change this option, login it as administrator to your website and navigate to Settings > Permalinks. There you can select how the permalinks will look by selecting some of the options or create your own links format. The available options are:
|Day and post name||https://example.com/2016/11/24/sample-post|
|Month and name||https://example.com/2016/11/sample-post|
|Custom Structure|| https://example.com/%tags%|
|%year%||The year of a post, four digits|
|%monthnum%||The month of the post, two digits|
|%day%||The day of the post, two digits|
|%hour%||The time of the post, two digits|
|%minute%||The minutes of the post, two digits|
|%second%||The seconds of a post, two digits|
|%post_id%||The unique ID of a post, several digits|
|%postname%||A processed form of the post title, with dashes instead of spaces and lowercase letters. For example the title "A Post" will become example.com/a-post in the URL.|
|%category%||A processed form of the post category, with dashes instead of spaces and lowercase letters. For example, a post in the category subcategory desserts of the recipes category will appear as example.com/recipes/desserts/post in the URL.|
|%author%||A processed form of the post author, with dashes instead of spaces and lowercase letters. For example, the name of the author John Smith will appear as example.com/john-smith in the URL.|