• Hello.
    I am a bit surprised as to why my post isn’t showing. When I click to edit the post, the post appears, and I can do all the editing I want. As soon as I click publish again, error 404 shows up.
    The funny thing is, is that the linked German translation of that blog post (https://www.crazykitchenblog.com/chocolate-cookies-mit-karamellisierter-weisser-schokolade/?lang=de) appears to be on my blog. When I click the sideboard to translate to English, error 404 shows up again. English non-functioning post: https://www.crazykitchenblog.com/caramelized-white-chocolate-cookies/

    I already copied the whole English blog post into a separate word file for backup, and then deleted the English post. I then made a new translation of the German blog post, and copy-pasted the old English blog post – and error 404 came up again, even though I deleted the old post.

    Is there any way to “show” my blog post? As I said, the blog post isn’t “gone”, because I can open the post and do any editing …

    The only option I see is deleting both posts, and making a new blog post of both, and dating them back again …

    I would be super glad for your support.

    • This topic was modified 3 years, 10 months ago by Joelle Warthmann. Reason: typo

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I tried adding -2 to the problematic url, like this
    {yourdomain}/caramelized-white-chocolate-cookies-2

    and it lead to
    {yourdomain}/wp-content/uploads/2020/07/Caramelized-White-Chocolate-Cookies.jpg.

    It’s as if there exists a post with the same url (permalink) that might be in the Trash section or something. So I suggest go look in the Trash section and see if there is a deleted post with that exact same permalink. If there is, just delete permanently.

    Also try delete that image, rename the file and then reupload, just to make sure that there is no duplicated url (permarlink).

    Anyway, since this only happens to this one post (I guess? cause all other posts with later dates appear normal), why not just delete this post and create a totally new post with the same content but with a new permalink (do not use caramelized-white-chocolate-cookies).

    Thread Starter Joelle Warthmann

    (@crazykitchenblog)

    Hi @paulwp
    I tried changing the URL – and now my post is accessible again? I don’t know what’s wrong XD …

    Originally, I called my recipe “Caramelized White Chocolate FUDGE Cookies”, but I felt the title and URL were too long and complicated, so I shortened it and took the fudge out.
    I guess since I deleted “Fudge”, my post hasn’t been working, which probably is several months already … ??

    I have added FUDGE back in, and now the post is working: https://www.crazykitchenblog.com/caramelized-white-chocolate-fudge-cookies/

    I checked my trash, and it is empty. What could the reason be as to why that shortened URL didn’t work? If at all possible, I kind of would like to get that disabled URL to work.

    Also regarding the image that comes up when you add “-2” – how could I possibly delete that? I tried doing that on another post and an image popped up.

    Thanks so much for your help!

    Hello @crazykitchenblog , I’m glad you’ve managed to get that post showing up finally.

    It’s not shortening the url that makes the 404, it’s the duplicated url issue. From what you described, my guess is that the .htaccess file (server uses it for redirecting when ppl access the web) might get written with some faulty rewrite rules, probably from translation/multilanguage plugin, or it could also be from WP itself —this I’m not certain. So when you change the url to anything different, doesn’t matter if it’s shorter or longer, WP pulls the page normally because it doesn’t repeat (duplicate) the one that’s already there.

    Since you have checked the Trash section and confirmed there’s no post with that same url, now we have that particular image as a second suspect. I would delete that image (backup the file first, save that image file into your local machine), rename the file and then reupload, this should clear up the rewrite rule in the .htaccess file that might have caused the problem.

    Just FYI, WP automatically adds -2, -3, and so on to the post permalink when we unknowingly create a post with the same url (permalink). Also be noted that not only post/page that has the url (permalink), the media we upload to WP also has one. So when the same url with added -2 can pull something up, this we know that there’s something that has the same url already exists.

    Thread Starter Joelle Warthmann

    (@crazykitchenblog)

    Hi @paulwp

    Thanks again for your detailed information, it really is helpful!

    I think it is best if I look at this “duplicated-matter” together with my IT/web-designer. It, unfortunately, isn’t the first time that I unwillingly messed up my website, and I would hate for it to happen again. So I think I will try and leave that image in until I see him next, and then he will also have access to the finickity data and can do all the deleting.

    The tech-part of WP still is a bit new and scary to me, so I rather ask twice than just do it and risk destroying important data.

    Greetings,
    Joelle

    Good decision!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Published post has disappeared’ is closed to new replies.