Home » WordPress Tutorials » Administration » How to Remove Dates from WordPress URLs

How to Remove Dates from WordPress URLs

If you have dates in your WordPress post URLs and want to remove them, but don’t know how, this is the right article for you.

Being a very versatile content management system (CMS), WordPress allows you to personalize your website in numerous ways.

One such way is to change the structure of permalinks of your blog posts and remove the dates in URLs in a few quick steps.


How to Remove Dates from WordPress URLs

Before we see how this is done, however, it is first important to consider a few things.

If you are still learning how to make a WordPress website and you haven’t published any posts, then you shouldn’t worry about changing the URL structure and removing dates. Simply proceed with the next steps.

However, if you already have published posts, changing their structure can make visitors stumble on a 404 Error Message. This happens in cases in which site visitors use the old URL to open posts that are already bound to a new URL. For example, they have saved the old URL or clicked on an old URL from another website.

This is why you should know how to fix Error 404.

Also, you should set up redirects that lead visitors to the new URL once they click on the old one. You will read how to do so further in this article.

Furthermore, it is important to make a backup of your website. This is will help you retain all your website information safely and revert back to it in case of issues.


Remove Dates from WordPress URLs

First, log in to your WordPress dashboard and head to Settings->Permalinks:


This will open the options page for your WordPress permalinks. Since you have dates in the URLs, you have used either Day and name structure, or the Month and Name. To change that, you should select a structure that doesn’t contain dates. The last two from the list are suitable, as they don’t contain dates and are informative enough:

WordPress Permalinks settings


  • Post name: this is a great option, as it would display the post name in your post URLs, right after the domain of your website – for example, https://www.examplewebsite.com/blog-post-name/.
  • Custom structure: personalize the structure with suggested tags. For example, add a category before the post name: https://www.examplewebsite.com/category-name/blog-post-name/. This gives more information to search engines and site visitors and is widely used by bloggers.

Once you selected a new structure, save the settings by clicking the blue Save Changes button in the lower left corner of this page. This will apply and save all the changes:

WordPress Save Permalink Settings


Now you’ve managed to remove the date from your blog post URLs.

However, there are a few more tweaks you should do, so to retain your SEO score and traffic.


Set Up Redirects

Redirects are a widely used technique in WordPress, as they reduce the negative effects of the 404 Error Message. When you use redirects, your visitors will open the right page even when they follow the wrong URL.

The concept is simple – although you change your URLs, old versions can still exist on your and other websites. If visitors click on these old links, they won’t open a relevant page, but rather will stumble upon the annoying 404 Page Not Found message.

However, when you use redirects,  and users click on an old version of an URL, the redirect technique will automatically follow the new link, instead of the old one, and WordPress will open a fully functional webpage with the relevant content.

Redirects are very important to retain your visitors’ satisfaction, site traffic, and SEO score,  when changing details in URLs, such as removing the date.

Because of how important redirection is, you should set it up immediately after you removed the dates from your post URLs.

To do so, follow the next steps:

First, install a WordPress plugin for redirecting. For this demonstration, we will be using a simple one called Redirection:

WordPress Redirection Plugin


Then, follow the plugin’s setup process:

WordPress Redirect Plugin Setup


Once the process is finished, you can access the redirection options:

WordPress Redirect Plugin Settings


To add redirects,  place the old link (the one that contains a date) in the Source URL field, then add the new address (the URL without dates) in the Target URL field, then click on Add Redirect.

Follow this process for each URL in your blog section.

Now you have managed to add redirects and retain your traffic and SEO rankings.



Removing the date from URLs is a great way to make a blog piece relevant for a longer time. This is very useful if you want to focus on evergreen content on your WordPress blog.

Now you know how to do so and make your blog posts more useful for your visitors, and also retain SEO score and traffic, as you will avoid dealing with 404 Error messages.



Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to Download WordPress Media Library from the ZETTAHOST Server

There are many reasons why you would want to download your WordPress media library files. You might wish to migrate your website content to a different domain, make a backup, or simply want to have a safe copy of your media files. Regardless of the reason, there are...

How to Download Media Library Using WordPress Settings

In case you wish to keep a copy of your WordPress media library, migrate your site content to a different domain, or want to make a full site backup, WordPress got you covered. The platform comes with a handy built-in Export function that you can access and use...

How to Download WordPress Media Library with a Plugin

A simple way to download your WordPress media library files is by using a plugin. With this method, you can store your files on your device in a matter of minutes. In the following paragraphs, you will read how to do so step by step.   How to Download Your...

How to Change Text Color With WordPress Theme Customizer

If you wish to make some general changes to your website text formatting, then using the WordPress theme customizer is a great way to do so. Each installed WordPress Theme comes with a customizer, and when formatting your texts, it is a good idea to have a closer look...

How to Change Text Color With WordPress Classic Editor

Formatting your content in WordPress is essential for crafting a useful website. Along with various other formatting techniques, coloring text can help you retain your visitors' attention and quickly point out the important information you wish to share online. In the...

Ready to Create Your Website?