• At the very beginning of my website, I published an article as a POST and then was instructed to change sth (was looking for the “read more” option so figured that maybe having a piece of post and then link under ‘read more’ directing to a page with the same permalink would help…) and published the whole article as a PAGE (same permalink). But then again, was instructed to move it back to a POST to avoid doubling the content and trash the page. Now, I can see my post in the blogroll (“prevent baby allergies at pregnancy”, https://www.babyallergies.net/blog/page/2) but when I click on it, the 404 error appears (https://www.babyallergies.net/prevent-baby-allergies-at-pregnancy). In WordPress the post has a published status, the page is trashed and I understand the SE see only the page URL, not the post.
    How to repair it so the SE see only the post URL and “forget” about the page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Cathy Mitchell

    (@multitalentedmommy)

    The post url is still linked to the page. First, I would delete the page (not trash – delete for real) Then go to the Posts panel in the dashboard, click on the Posts sub-panel and scroll to the list of posts. find this one, and click on “view” link. Copy the link above so you can see what the post URL REALLY is. Then you will know what the problem is. I’m guessing – it has a “2” or category appended.

    Also, if you have a lot of Pages, you should have your permalinks set to something other than %postname% See this info here: https://desperatelyseekingwp.com/2010/06/90-wrong-discovery-permalinks/

    Thread Starter BabyAllergies

    (@babyallergies)

    Thank you!! Thank you!! Thank you!! ‘Delete permanently’ did the job! Everything is working, no more 404 error! Awesome! Thanks!

    Cathy Mitchell

    (@multitalentedmommy)

    You’re welcome. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to repair 404 error when a post moved to a page and then moved back to a pos’ is closed to new replies.