Title: Old internal permalinks 404 error
Last modified: August 19, 2016

---

# Old internal permalinks 404 error

 *  [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/)
 * I have recently changed my permalink structure, on a long established site. Links
   from google redirect perfectly.
 * HOWEVER. If i navigate to posts dating from 2007 and older, the single pages 
   throw up a 404 error. If i click publish on the post(effectively re publishing
   it) It will then display.
 * Any idea what is wrong? I can’t possibly re-publish every post.
 * thank you

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

 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1732866)
 * Can somebody at least reccomend where i can go for help. My questions are rarely
   answered here.
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1732890)
 * I cannot re-release my new website until this error is rectified. I have hundreds
   of old posts that result in 404 errors unless i individually click publish again
   on every one. There’s no way i can do it with that quantity.
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733051)
 * It doesn’t seem to be related to me changing my permalinks. SO I ask, how can
   I get all the posts to show up without manually publishing every single one (
   hundreds)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733052)
 * Try resetting your custom permalinks back to the default setting and deleting/
   renaming your WordPress .htaccess file. If this works, then review [Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
   before setting a custom permalink structure back up again.
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733053)
 * Thank you for responding. I tried the above and it still hasnt worked. Old posts
   still render 404 pages. Any other possibilities?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733054)
 * Are the urls for these 404 pages correct? If ‘yes’, did you actually delete your.
   htaccess file before setting a custom permalink structure back up again?
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733055)
 * Yup I did that & the urls are correct, very odd. Only starts 3 years ago. The
   posts show up fine on my category archive pages.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733056)
 * Have you tried repairing your database?
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733057)
 * Tried that just now an no luck. My wp dashboard says 0 posts despite there being
   thousands. I have tried repairing DB from phpmyadmin and plugins yet it still
   says 0.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733058)
 * Do you have a recent database backup?
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733059)
 * Hmm not recent enough I have been rebuilding the site and have added a few hundred
   new posts.
 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733060)
 * Well I finally sorted it and here’s how.
 * In php myadmin I noticed all of my posts pre 2007 had a post_status of “Publish”.
 * I did a mass search and replace changing them all to “publish”.
 * And it worked a treat :)!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733068)
 * Interesting. I wonder what caused that…?

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

The topic ‘Old internal permalinks 404 error’ is closed to new replies.

## Tags

 * [internal](https://wordpress.org/support/topic-tag/internal/)
 * [old](https://wordpress.org/support/topic-tag/old/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/old-internal-permalinks-404-error/#post-1733068)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
