I just updated my permalinks structure on amdsoft.com to remove the dates from the URL. This is slightly better for SEO, and is nicer looking also.
So now we get URLs like
In WordPress, this is changed at www.yourdomain.com/wordpress/wp-admin/options-permalink.php, select Custom Structure and just use
Here’s the 301 redirect (replace amdsoft with your domain):
RedirectMatch 301 /([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ https://amdsoft.com/$4
Make sure it appears all on one line in your .htaccess file, and that it’s above the WP code in there.
Thanks to Aaron over at SEO book for this htaccess code. Edit: someone just pointed out to me that this is originally from Yoast tweaking websites blog– so thanks Joost (and also to Aaron for bringing it to my attention)! I highly recommend reading both of these guys, they’re both awesome.