Have you ever wondered about the permalink structure in WordPress? The permalink structure is of main importance to prevent errors but also to make your WordPress website SEO friendly.
Permalinks, short for permanent links, can be defined as URLS of a page or blog post. To access the permalink settings page, you should go to Settings > Permalinks. In this section you have the ability to create a custom URL structure for your permalinks.
In many blog posts the year and month are embedded into the URL. For example, https://www.wplounge.org/2018/06/30/blog-post-example/. At WPLounge we usually embed the post name directly after the main URL as shown in the permalink of this article: https://www.wplounge.org/wordpress-permalink-structure/.
At WPLounge we try to avoid lengthy URLS to keep our posts and pages SEO friendly so we exclude the date. If we would add the date to our content it seems outdated after a while even though it is updated regularly. However, in some cases (e.g. news sites) it might be wise to include the date but most websites should exclude it.
You can choose per post or page.