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.

 

Conclusion

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.

Related:

 

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 Copy a Page with WordPress Gutenberg Editor

Looking for ways to copy your WordPress web pages? The Gutenberg block editor got you covered. In this article, you will read about 3 different methods you can instantly apply when crafting your WordPress website.   How to Copy a Page with WordPress Gutenberg...

How to Add Tabs to Your WordPress Site with Gutenberg

Tabs are quite useful in numerous situations and can be a fresh addition to your WordPress websites. Massively used to showcase content categories, news, and various other types of posts in a very structured manner, tabs contribute to making your site content more...

How to Create Tables in WordPress Using Gutenberg Editor

Creating a table in WordPress with the Gutenberg Block Editor is a straightforward task. Should you need to add one or several tables to your pages, the following paragraphs explain how to do so.   How to Create Tables in WordPress using Gutenberg Editor  ...

5 Best WordPress Slider Plugins for Gutenberg

When crafting your WordPress website, it is not only important to publish informative and well-structured content, but it is also crucial to make your web pages as aesthetically appealing as possible. An effective way of making your site more beautiful is by inserting...

How to Use the Navigation Block in Gutenberg

With the Gutenberg Navigation block, you can add various types of navigation on any page or within any blog post on your website. Similar to the classic WordPress menu, the Navigation block can be modified in numerous ways and become a handy tool in many situations....

Ready to Create Your Website?