admin管理员组文章数量:1334654
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 | Show 3 more comments1 Answer
Reset to default 1We 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.
本文标签: Can39t Delete or find a blog post (unknown)
版权声明:本文标题:Can't Delete or find a blog post (unknown) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742377448a2463444.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
post.php?post=xxxx&action=edit
change the ID number topost=2546
so it'd bepost.php?post=2546&action=edit
and see what comes up... – Tony Djukic Commented Jun 2, 2020 at 5:14