Title: Permalink Structure changed, looking for rewrite help
Last modified: August 19, 2016

---

# Permalink Structure changed, looking for rewrite help

 *  Resolved [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * (@myrddinde)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-structure-changed-looking-for-rewrite-help/)
 * Recently I changed my blog from the standard /%year%/%monthnum%/%day%/%postname%/
   to /%postname%/
 * However the blog is 5 years old and I’d be able to not get 404 errors on “old”
   links. don’t really want to overload the site with plugins, henc eI thought it
   would be easy to add a rewrite rule in .htaccess
 * However I am somewhat stuck and would appreciate some help.
 * Example link
    old: [http://www.myrddin.de/2011/01/19/enhancement-shaman-soloable-bosses/](http://www.myrddin.de/2011/01/19/enhancement-shaman-soloable-bosses/)
   new: [http://www.myrddin.de/enhancement-shaman-soloable-bosses/](http://www.myrddin.de/enhancement-shaman-soloable-bosses/)
 * I thought that a simple
 * `RewriteRule /([0-9][0-9][0-9][0-9])$/([0-9][0-9])$/([0-9][0-9])$/(.*)/ /$4/ [
   R]`
 * Would do the trick, but it doesn’t. Can anyone point me the right way? thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * (@myrddinde)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-structure-changed-looking-for-rewrite-help/#post-1949323)
 * Nevermind, I had to delete the cache to make it work. Hope that helps someone
   else looking for this.
 *  Thread Starter [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * (@myrddinde)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/permalink-structure-changed-looking-for-rewrite-help/#post-1949633)
 * This suddenly stopped working on my site for an unknown reason. Did too many 
   changes before I noticed the error. Instead of rewrite I use redirect now.
 *     ```
       RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*) /$4/
       RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*)/ /$4/
       ```
   
 * Hope that helps!
 *  Thread Starter [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * (@myrddinde)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/permalink-structure-changed-looking-for-rewrite-help/#post-1949663)
 * Changed the order and added the domain to not have redirect spam the error log.
 *     ```
       RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*)/ http://www.myrddin.de/$4/
       RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*) http://www.myrddin.de/$4/
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Permalink Structure changed, looking for rewrite help’ is closed to new
replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 1 participant
 * Last reply from: [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/permalink-structure-changed-looking-for-rewrite-help/#post-1949663)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
