Remove Dates From Permalink

How do you you remove the dates from your permalink structure without ruining all the hard earned links you have developed?

Glad you asked… It really is very simple… (Note I tried the various plugins first but had issues… In the end this solution is faster for the visitor, quicker to implement, and simpler.)

Assuming your current permalink structure is /%year%/%monthnum%/%day%/%postname%/

  1. First change your permalink structure to /%postname%/
  2. Create a .htaccess file (or modify an existing file)
  3. Add this line above any other Wordpress declarations: RedirectMatch 301 /dddd/dd/dd/(.*) /$1
  4. Make sure the .htaccess file is in the root of your blog

Here is an example .htaccess file direct from one of my blogs…
RedirectMatch 301 /dddd/dd/dd/(.*) /$1

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

By 301 redirecting you are telling the search engines that the content has moved to a new location. While there is typically some drop off during the transition, your blog will come back stronger for making the change.

As an example of the effectiveness…
Here is an old url: http://www.golfballdriver.com/2008/03/18/michelle-wie-and-robin-lopez-at-charity-auction-pic/
which now redirects to the new url: http://www.golfballdriver.com/michelle-wie-and-robin-lopez-at-charity-auction-pic/

Originally posted 2009-02-02 12:30:17. Republished by Blog Post Promoter

Blog Traffic Exchange Related Posts
  • peopleSEO Tips for Bloggers on WordPress There are several million WordPress blogs that you can find on the internet, but unfortunately the majority of them are not properly optimized for search engines. This article is going to touch on some SEO tips for bloggers using WordPress to host their blog, because with the right tips it......
  • commentsImprove Your Blog Functionality You can improve your blog functionality in order to improve your traffic, readership and the number of people that comment on your blog posts. When you improve your blog functionality, it can have a profound impact on the capabilities of your blog. Here are some tips to improve your blog......
  • thesisTips for Writing a Successful Blog One of the biggest keys when it comes to keeping a successful blog is to provide content that is perceived to be exceptional. The following five tips are designed to ensure that the blog posts that you write are getting read, and also that they are encouraging your readers to......
  • nookComing Up with a Blog Niche Are you beginning a brand new blog? One of the first decisions that you are going to want to make is where you want to put your blog, and then you are going to need to choose a blog niche. One of the best ways to get your blog started......
  • gbdHow to Relocate your Wordpress Blog to a New Domain Name Making the decision to move my blog from http://www.courseladder.com to http://www.golfballdriver.com was a big one, and a good one, and it taught me a lot about learning how to relocate your Wordpress blog to a new domain name under the same hosting provider. Course Ladder suited me for a while,......
Blog Traffic Exchange Related Websites
  • blog traffic exchangeWordPress Permalinks and Blog Stats Problem Permalinks or Stats Problem? This may or may not be tied up with an earlier WordPress problem I had, wordpress-27-mysterious-permalinks-problem, but here's how it manifests itself. Description I use a popular WordPress plugin called WordPress.com Stats which does what it says, most of the time - i.e. keeps a history......
  • How To Backup Your Wordpress Blog? Before you upgrade WordPress, you need to back it up so you don't lose your blog posts, pages and anything else that can be lost on your blog. This has happened to me on more than one occasion and it's really not worth the agro of having to go back......
  • blog traffic exchangeAdd Weight Loss and Fitness Bloggers to your Website Apparently this has ability has been built into wordpress for quite some time but a friend of mine recently pointed up that it can be done (pfblogs popular posts added to sidebar.)  Here is the wordpress codex for this feature: http://codex.wordpress.org/Function_Reference/fetch_rss. To add the latest weight loss health and fitness......
  • ten tips for new bloggers As a grizzly old veteran of the blogging business (3 months on this blog but 3+ years on a previous one) I have a few ideas about what makes a blog successful or not, at least in the early stages. Part of this knowledge comes from running a blog for......
  • friendlyUser Friendly Corporate Blogging Tips Once you know what niche or industry you will be blogging about, the next step in the process that you need to consider before you actually begin writing is some basic blog design tips. When designing and modeling your blog, you absolutely need to be able to keep your readers......
Online Stores If you liked this article, vote for it on del.icio.us and stumbleupon.



Categories:

Blog Tips



Tags:

, , , , ,


3 comments ↓
#1 Brad Hart @ A DoFollow Blog on 12.11.08 at 11:09 am

I have long been a proponent of using /%category%/%post-slug%/ for your permalink it not only adds a searchable keyword if you did your categories right, but only using the post slug can often times cause plugin errors with some of the more popular plugins.

I also recommend leaving the htaccess file alone unless you really know what you are doing. I also find it easier to use the redirection plugin since often times you will want or need to optimize a post slug or a lot of post slugs depending on the age of your blog. Even if it isn’t that old removing the trash words that get stuck in by default is a good SEO practice.

#2 kevin on 12.11.08 at 11:27 am

I tend to use more than one category and so I end up with a lot of posts in the categories with that start with letter earlier in the alphabet.

I have never had any toruble with just using the post slug.

#3 MLR on 05.21.09 at 7:43 pm

Currently I use:
/%year%/%monthnum%/%postname%/

I think I want to change it to:
/%postID%/%postname%/

What would the htaccess look like for that? And would that be just as good for SEO as your improvement?

Leave a Comment