Can't Delete or find a blog post (unknown)

today I noticed a weird problem in my wordpress woocommerce site. The site has blog enabled. When visiting the site, I c

today I noticed a weird problem in my wordpress woocommerce site. The site has blog enabled. When visiting the site, I can find a blog post, can see as a visitor. But when I logged in as Admin it shows 404 error page.

Also in admin panel I can't find the post. Actually i have only one blog post, but in admin panel it's showing that I published 2 posts.

Please help to fix this

Unknown post link /club-de-gym-plan-cul-a-tours/

today I noticed a weird problem in my wordpress woocommerce site. The site has blog enabled. When visiting the site, I can find a blog post, can see as a visitor. But when I logged in as Admin it shows 404 error page.

Also in admin panel I can't find the post. Actually i have only one blog post, but in admin panel it's showing that I published 2 posts.

Please help to fix this

Unknown post link https://flixacct.club/club-de-gym-plan-cul-a-tours/

Share Improve this question edited Jun 2, 2020 at 9:14 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Jun 1, 2020 at 20:25 ashik4uashik4u 174 bronze badges 8
  • I'd guess you have a plugin messing with your site here. Cornerstone? – vancoder Commented Jun 1, 2020 at 22:02
  • Try this... ...go to your admin, find that Netflix post and go to edit it... ...then, in the URL address bar in your browser where it says post.php?post=xxxx&action=edit change the ID number to post=2546 so it'd be post.php?post=2546&action=edit and see what comes up... – Tony Djukic Commented Jun 2, 2020 at 5:14
  • 1 @TonyDjukic Thanks man. it worked out. I moved that post to the trash by using the way you said. However, tried to permananetly delete the post through admin panel, can't find it. But trash showing as trash(1) – ashik4u Commented Jun 2, 2020 at 7:02
  • Can you got Trash and click Empty Trash? – Tony Djukic Commented Jun 2, 2020 at 7:43
  • 1 @TonyDjukic it worked man. Many thanks. 100% solved – ashik4u Commented Jun 2, 2020 at 8:51
 |  Show 3 more comments

1 Answer 1

Reset to default 1

We don't really know why this post is there but inaccessible by you, but for anyone having this issue here's how you can attempt to remove it.

You would go to any other post in your dashboard/admin, to edit it.

In your browser URL bar you'd look for this aspect of the URL:

post.php?post=xxxx&action=edit

Then, in a different browser tab, on the front end where you can see the problematic post, you want to go to the source code of that page using developer tools and in the <body> tag look in the class="" attribute for the following class:

postid-xxxx (The xxxx will be the post ID number.)

You want to take that number, go back to the post you can access and in the URL bar replace the number in post.php?post=xxxx&action=edit with the id number from the post you can't access. (In this instance it was 2546, so post.php?post=2546&action=edit.)

Once you have this elusive post on your edit screen, you can delete it in the Publishing panel at the top right.

What this does though is move it to the 'Trash'. So now on the main post list screen you'll see 'Trash(1)' but if you click on 'Trash' you still may not see the post.

In the 'Trash' view though, you can click 'Empty Trash' and that will remove the mystery post permanently.

Now, we still don't know what caused that post or why your admin account can't access it, so keep an eye out for more of these, but at least it's cleared out now.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742377449a4432472.html

相关推荐

  • Can&#39;t Delete or find a blog post (unknown)

    today I noticed a weird problem in my wordpress woocommerce site. The site has blog enabled. When visiting the site, I c

    5小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信