Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've got roughly 3000 pages in WordPress w/ permalinks on. I recently cleaned up the database which appears to have deleted a fair amount of slugs for many of the pages.

Obviously, with no slug, WordPress can't reference the page, therefore I or anyone else can't get to it.

Rather than go in, one at a time and fix the missing slugs - Does anyone know a quick way to repopulate them?

share|improve this question
    
Have you tried flushing your permalinks? Just go to Settings -> Permalinks and save the page. –  moraleida Jul 25 '12 at 22:49
    
Indeed, I did try that. I even changed the structure. Where there was once a slug has now been replaced by two forward slashes. Wordpress literally sees the permalink as a blank entry. –  Just Johnny Jul 26 '12 at 1:56
    
This is why I make a backup before doing anything to a db. Check your GUIDs for each post in your posts table. –  Joseph Jul 26 '12 at 12:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.