Title: problem redirecting old pages
Last modified: August 18, 2016

---

# problem redirecting old pages

 *  Resolved [whybonus](https://wordpress.org/support/users/whybonus/)
 * (@whybonus)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/problem-redirecting-old-pages/)
 * A month ago I’ve changed my permalinks from /%monthnum%/%postname%/ to /%year%/%
   monthnum%/%postname%/ because i realised that next year nobody will know wich
   posts are from 2006 or 2007.
    Now I saw that google shows me about 85 not found
   links, the old ones. My problerm is that the old links are redirected to index
   insteed of to the new ones. I want to make that possible.
 * I tried to change the .htaccess file and I putted a few more lines like
 * RewriteRule (/06/.+) /2006/$1
    or RewriteRule (/06/.*) /2006/$1
 * but it didn’t work. In the first place i tried something like
 * RewriteRule /([0-9][0-9])/(.+) /2006/$1/$2
    and RewriteRule ^/([0-9][0-9])/(.
   +)$ /2006/$1/$2
 * none of them worked. if I’m writing[http://de-ce.nimic.org/10/pentru-persoanele-cu-suflet](http://de-ce.nimic.org/10/pentru-persoanele-cu-suflet)
 * I get the index, not [http://de-ce.nimic.org/2006/10/pentru-persoanele-cu-suflet/](http://de-ce.nimic.org/2006/10/pentru-persoanele-cu-suflet/)
   like it should afer the changes.
 * I tried to put my rules in the .htaccess before the wordpress ones and after,
   the same result.
 * Any ideea? What I did wrong?

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

 *  [redecs](https://wordpress.org/support/users/redecs/)
 * (@redecs)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/problem-redirecting-old-pages/#post-473498)
 * I’ll post here too, in case somebody has the same problem:
 * Put this in your .htaccess:
    `RedirectMatch permanent ^/([0-9][0-9])/(.*)$ /2006/
   $1/$2`
 *  Thread Starter [whybonus](https://wordpress.org/support/users/whybonus/)
 * (@whybonus)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/problem-redirecting-old-pages/#post-473632)
 * Indeed, redecs was the one who helped me, offering the solution posted here.
 * And the best thing about this is that even google recognize the redirection of
   permaionks and it will not report broken links or error 404 (not found). Thank
   alot redecs, again. 🙂

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

The topic ‘problem redirecting old pages’ is closed to new replies.

## Tags

 * [error 404](https://wordpress.org/support/topic-tag/error-404/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [whybonus](https://wordpress.org/support/users/whybonus/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/problem-redirecting-old-pages/#post-473632)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
