Can't delete original permalink page - disrupting URLs (3 posts)

  1. rosspruden
    Posted 6 years ago #

    I created a page, used custom permalinks and automatically created a permalink URL like this:


    Then I deleted that page (my bad) and recreated the blog page.
    Now the permalink is forcing itself to be:


    I'd like to delete the original page and force the permalink back to domain.com/blog. Can I?

  2. Darrell Schauss
    Posted 6 years ago #

    I fixed this before. I believe I had to go into database and delete all the past revisions for that page. Though I think in my case I didn't delete the page. I changed the permalink and was trying to apply the former slug it to another page. It may be the same fix.

    DELETE FROM wp_posts WHERE post_type ='revision' AND post_id = 1; whatever is the post_id.

    Did you accidentally delete it from the Trash too already? If it is still in your trash you can recover it and start using the old page again.

  3. rosspruden
    Posted 6 years ago #

    Ok, it's fixed!

    It was still in the Trash. I simply forgot it was there. I restored the file, delete the blog-2 page (permanently) and reset my Admin settings to re-point to the blog page for the blog.

    Worked like butter! Thanks a bunch for reminding me to check the obvious. :)

Topic Closed

This topic has been closed to new replies.

About this Topic