Next-Level Code. Nexuvibe Style ...

Hrs
Min
Sec
WordPress Content Accountability

How to Track Who Deleted a Page
or Post in WordPress

A page disappeared from your WordPress site. No error, no warning, just gone. This guide explains exactly how to find out who deleted it, when it happened, and how to make sure it never goes uninvestigated again.

9 min read
Updated 2026
Content Accountability Guide
How to track who deleted a page or post in WordPress – finding deleted content attribution using activity logs in 2026

You check your WordPress site and a page that should be there is gone. Not unpublished, not moved to draft. Gone. Maybe it was a service page that was getting organic traffic. Maybe it was a landing page connected to an active ad campaign. Maybe it was a cornerstone piece of content that other pages linked to. Whatever it was, something important has disappeared and you have no idea who removed it or when.

WordPress does not tell you who deleted content. There is no built-in record of deletion events, no notification when a post or page is trashed, and no history of who took which action on which piece of content. If you were not watching when it happened, the default WordPress installation offers you essentially nothing to work with.

This guide covers every available method for tracking down who deleted a WordPress page or post, starting with what to check right now if you are in the middle of this problem, through to the permanent solution that makes this kind of investigation instant rather than uncertain. For sites with Nexu Activity Log already running, finding deleted content attribution takes about 30 seconds. For sites without it, the investigation is harder, and this guide will tell you exactly how far you can get.

Either way, by the end of this guide you will have a clear process and a permanent solution in place for every deletion that happens after today.

What this guide covers
→The first thing to check right now if content is missing from your WordPress site.
→How to find who deleted a post or page when an activity log was running at the time.
→What options exist for recovering deleted WordPress content and which ones actually work.
→How to investigate a deletion when no activity log was running at the time.
→How to prevent this investigation from ever being necessary again.

Step one: check the WordPress trash before anything else

Before investigating who did what, verify that the content is actually gone and not just sitting in the WordPress trash. When a user moves a post or page to trash, it disappears from the live site and from the standard content lists but remains in the database for 30 days by default. This is the first thing to check because recovery from trash is immediate and requires no investigation.

Go to Pages or Posts in your WordPress admin. Look for a “Trash” filter link at the top of the content list. Click it to see everything currently in trash. If the missing content is there, you can restore it with a single click. The content goes back to its previous published state and the problem is resolved in seconds.

Content is in trash

Restore immediately. The investigation question of who moved it to trash is still worth answering afterward, but the urgent problem is solved. Check your activity log for the trash event once the content is live again.

Content is not in trash

The content was permanently deleted (emptied from trash), was deleted via bulk action, or was removed by an automated process. Recovery requires a backup. Investigation requires an activity log or the methods described below.

Two distinct deletion events in WordPress
WordPress has two stages of deletion. Moving to trash is a soft delete that is reversible for 30 days. Permanently deleting (emptying trash or using the “Delete Permanently” action directly) removes the content from the database entirely. A good activity log records both events distinctly, so you can see whether the content was trashed first and then emptied, or whether it was hard-deleted immediately. This distinction matters for both recovery and accountability.

How to find who deleted the content when an activity log was running

If Nexu Activity Log was active when the deletion happened, finding the answer is straightforward and fast. The plugin captures both trash and permanent deletion events with full attribution: the username of the person who took the action, their user role, the IP address and geolocation of the session, and the exact timestamp.


Nexu Activity Log events log filtered for post deletion – showing who deleted a WordPress page with username timestamp IP address and content title

The events log in Nexu Activity Log — filter by event type to find every deletion event with full user attribution, timestamp, and content details.

To find the deletion event in Nexu Activity Log, navigate to the Events log and filter by event type. Select the Posts and Pages category and look for trash or delete events. If you know approximately when the content disappeared, add a date range filter to narrow the results. The log will show you the exact event: which post or page was deleted, which user deleted it, what their role was, and what time it happened.

If the deletion appears to have been done by a legitimate user who simply made a mistake, that conversation is now easy to have because you have the facts. If the deletion happened during an unusual session, from an unexpected IP address, or at an unusual time for the user in question, the activity log gives you the context to assess whether the account may have been compromised.


Nexu Activity Log user activity profile – viewing the complete action history of the user who deleted a WordPress post including IP address login time and session details

Per-user activity profile in Nexu Activity Log — see the full session context of the user who performed the deletion, including login source and everything else they did during that session.

The user activity profile view takes this one step further. Click on the username associated with the deletion event to pull up their complete activity history. You can see every action they took during the session that included the deletion: what they logged in with, which pages they visited in the admin, what else they changed. If the deletion was accidental, the session will look completely normal. If something more concerning happened, the broader session context is what reveals it.

Using the timeline view to understand the deletion in context

An isolated deletion event tells you who and when. The timeline view tells you the full story around that event. For content accountability investigations, this context is often as important as the basic attribution.


Nexu Activity Log timeline view – chronological WordPress event sequence showing the deletion event in context with what happened before and after it

Timeline view in Nexu Activity Log — see what happened immediately before and after the deletion to understand the full context of the event.

Open the timeline view and navigate to the time window around the deletion. What you are looking for is the sequence of events: what the user did immediately before deleting the content, whether the deletion was a single isolated action or part of a broader pattern of changes, and what happened on the site immediately afterward.

Pattern that suggests accidental deletion

The user logged in, edited several posts normally, then the deletion event appears, followed by the user continuing to work on other content as if nothing unusual happened. The session looks exactly like a normal working session with one unintended action in the middle. This pattern strongly suggests the user moved the content to trash by mistake, possibly via a misclick on a bulk action or accidentally clicking Delete instead of Edit.

Pattern that suggests intentional or malicious deletion

The login occurred from an IP address the user has never used before. The session lasted only a few minutes and the only actions were accessing the content list and deleting specific items. No other editing work happened. The session ended immediately after the deletions. This pattern is consistent with a compromised account being used to deliberately remove content, or with a user who knew exactly what they were going to delete and had no other purpose for the session.

🔗For a deeper look at WordPress Site, this related guide is a useful next read. →

Pattern that requires a conversation

The deletion was done by a user who had legitimate access, during a normal session, from their usual location. The content deleted was something they may have had a reason to remove as part of their role. In this case the timeline data tells you who and when conclusively, but the question of whether the deletion was appropriate requires a direct conversation. You go into that conversation with accurate facts instead of accusations based on guesswork.

How to investigate a WordPress deletion when no activity log was running

Without an activity log, identifying who deleted a WordPress post or page is genuinely difficult. WordPress core records almost nothing useful for this purpose. There are a few places to look, none of them conclusive, and the honest answer is that in many cases the attribution simply cannot be recovered. Here is what you can try.

01
Check your hosting access logs

Your web host keeps access logs that record every HTTP request made to your server. These logs include the IP address, timestamp, and URL path of each request. A deletion in WordPress sends a POST request to a specific admin URL. If you can narrow down the approximate time window of the deletion, a server administrator may be able to correlate admin POST requests in that window to the WordPress user who was logged in from that IP address. This is laborious and not always possible, but it is the closest thing to attribution data that exists outside of a dedicated activity log.

🔗Implementing WordPress activity log GDPR requirements ensures you maintain a compliant audit trail while investigating deleted pages or posts. →

02
Look for the content in your WordPress database

If the content was trashed rather than permanently deleted, it may still be in the wp_posts database table with a post_status of trash. Access your database via phpMyAdmin or another database tool and query the wp_posts table for posts with that status. You will find the content there but not the deletion attribution, since WordPress stores the last modified user but not a separate deletion actor. If the content was permanently deleted, it is no longer in this table and database recovery would require a backup restoration.

03
Check Google Search Console and cached versions

Google Search Console logs crawl activity and may show when Googlebot last successfully indexed the page and when it first encountered a 404. The date when the 404 began gives you a boundary for the deletion window. Google’s cache may also still hold a version of the deleted content if the deletion is recent enough, which is useful for content recovery even if it tells you nothing about attribution.

04
Ask the users with deletion access directly

On a site with a small number of people who have the permissions required to delete content, asking directly is a legitimate step. The limitation is obvious: it relies on honest reporting and accurate recollection, neither of which is guaranteed. But combined with any other evidence you have collected, it can be enough to identify the person. For accidental deletions, most people will acknowledge it once asked directly. For intentional ones, this approach is less likely to produce a useful result, which is a further argument for having a log that does not rely on self-reporting.

The honest limitation
Without an activity log, complete attribution for a WordPress deletion is often unrecoverable. The methods above can narrow down the window and sometimes identify the person, but they are indirect, labor-intensive, and frequently inconclusive. There is no substitute for having the deletion logged at the moment it occurred. Every investigation that ends with “we cannot determine who did this” is an argument for installing Nexu Activity Log before the next deletion happens.

Recovering deleted WordPress content: what actually works

Attribution is one problem. Recovery is another. Knowing who deleted a page does not bring it back. Here are the recovery options available and the realistic expectation for each one.

Recovery method
Works if trashed
Works if permanently deleted

Restore from WordPress trash
Yes, instantly
Not applicable

Restore from hosting backup (cPanel, etc.)
Yes
Yes, if backup predates deletion

Restore from WordPress backup plugin
Yes
Yes, if backup predates deletion

Google cache or Wayback Machine
Content only, not metadata
Content only, not metadata

Database recovery via phpMyAdmin
Yes, record still exists
Record removed from database

Reconstruct from memory or other sources
Last resort, incomplete
Last resort, incomplete

Hosting backups and backup plugin snapshots are the most reliable recovery method for permanently deleted content. The critical factor is how recently the last backup was taken and whether it predates the deletion event. This is a strong argument for daily automated backups on any site where content has real business value.

What Nexu Activity Log records about content deletion specifically

Understanding exactly what gets logged when content is deleted clarifies why the attribution data from Nexu Activity Log is so much more useful than anything available through other means. The plugin captures a structured record for each deletion event that includes everything you need for both accountability and investigation.


Nexu Activity Log event collectors for posts and pages – showing the specific deletion events captured including trash move and permanent delete with full attribution data

Posts and Pages event collector in Nexu Activity Log — captures both trash and permanent deletion events as distinct records with full context.
Trash event records
Post or page title and ID
Username and display name
User role at time of action
IP address and country
Exact timestamp
Previous post status (published, draft, etc.)

Permanent deletion records
Post or page title and ID
Username and display name
User role at time of action
IP address and country
Exact timestamp
Distinct event type (not the same as trash)

The distinction between trash and permanent deletion events is particularly important for investigating bulk deletion incidents. On sites where large numbers of posts were deleted at once, often via a bulk action, Nexu Activity Log records each deletion as a separate event, so you can see the full scope of what was removed in a single session. Bulk deletions that affect dozens or hundreds of posts are especially destructive, and having a complete record of every item removed is essential for both accountability and recovery planning.

🔗For a deeper look at Danger of Orphaned Admin Accounts, this related guide is a useful next read. →

Setting up alerts so future deletions are caught immediately

Knowing who deleted something after the fact is useful. Knowing the moment it happens is better. With Nexu Activity Log’s alert rules, you can configure immediate notifications for content deletion events that arrive in your Slack, Discord, Telegram, or email the moment a post or page is moved to trash or permanently deleted.


Nexu Activity Log alert rules for post deletion – configuring real-time WordPress notifications when pages or posts are deleted so you know immediately

Alert rules in Nexu Activity Log — configure real-time notifications for post and page deletion events so you know the moment important content is removed.

The recommended configuration for content deletion alerts depends on how your site is used. For smaller sites where deletions should be rare, alerting on every trash event is reasonable. For high-volume content sites where editors regularly archive old posts, you may want to scope the alert more narrowly: alert only when content that was published is deleted, or only when the deletion is performed by users below a certain role, or only when deletion happens outside business hours.

The value of an immediate deletion alert goes beyond accountability. If a page is deleted accidentally, catching it within minutes means recovery from trash is still possible. If you find out about a deletion six hours later and the trash has been emptied in the meantime, recovery requires a backup restoration and potentially lost any changes made to other content in the intervening period.


Nexu Activity Log security dashboard – overview showing recent critical events including content deletions with immediate visibility into site activity status

The command center dashboard in Nexu Activity Log — critical events including content deletions surface prominently so nothing significant goes unnoticed.

Preventing unauthorized deletions through better role management

Investigation and alerts address the accountability side of content deletion. Prevention addresses the structural side. Many accidental and unauthorized deletions happen because users have more permissions than they actually need for their role on the site.

The WordPress role system defaults are broad. An Editor role can delete any post or page, including ones they did not create. A Contributor can delete their own posts permanently. Most sites give users whatever role seems broadly appropriate without reviewing exactly what that role allows. The result is that people who should only be writing content have the ability to delete anything on the site.

Audit who actually needs deletion permissions

Go through your user list and ask honestly: does this person need to be able to delete published pages? In most content teams, the answer is that only senior editors and administrators should have that capability. Writers and junior editors generally need to be able to create and edit content, not remove it. Demoting users to the lowest role that still lets them do their actual job eliminates a significant category of accidental and unauthorized deletion.

Use custom roles or role management plugins for fine-grained control

WordPress’s built-in roles are broad bundles of capabilities. A custom role plugin lets you create roles that have exactly the capabilities your team members need without the ones they do not. You can create a content editor role that can publish and edit posts but cannot delete them, or a reviewer role that can read all content but not modify anything. Fine-grained role management combined with activity logging gives you both prevention and a complete record when something still gets through.

🔗While deletion logs help identify who removed content, real-time WordPress visitor tracking ensures you never miss critical user behavior changes that could signal deeper issues. →

Configure deletion alerts scoped to the roles that should not be deleting

Even with role restrictions in place, alerts add a layer of visibility. Configure your deletion alert rules in Nexu Activity Log to trigger when any user below administrator level performs a deletion. This catches cases where role assignments were not updated when someone’s responsibilities changed, or where a custom role was inadvertently granted deletion capabilities during a configuration change.

The combination of proper role management, real-time deletion alerts, and a complete activity log creates a content accountability system that makes unauthorized or accidental deletions both harder to commit and impossible to deny. You prevent the ones you can prevent. You catch the ones that happen in real time. And for every one that does occur, you have an immediate, complete, tamper-evident record of exactly who did it and when.

That record is what Nexu Activity Log provides automatically from the moment it is installed. The investigation you are conducting right now, if it is taking hours because no log was running, is a problem that will never repeat itself once the plugin is active.

Install it today. The next deletion, accidental or otherwise, will have a complete record attached to it from the first second it happens.

Deletion Tracking · Full Attribution · Real-Time Alerts

Know who deleted what, the moment it happens

Nexu Activity Log records every post and page deletion with full user attribution, IP address, timestamp, and session context. Pair it with real-time alerts and you know about every deletion before you go looking for it.

Nexu Activity Log – WordPress content deletion tracking plugin with full user attribution and real-time alerts

Nexu Activity Log by NEXU WP
WordPress plugin · Full Content Audit · Deletion Alerts · 14 Event Collectors


Get Nexu Activity Log

Picture of Mahdi Jabinpour

Mahdi Jabinpour

As a sales-driven developer and the founder of NexuWP, Mahdi focuses on building WordPress solutions that don't just work—they convert. From AI-powered bulk translation engines to high-efficiency media offloading, he helps business owners automate the "grind" so they can focus on global growth. He is a pioneer in integrating advanced LLMs into the WordPress workflow.

RELATED POSTS

RELATED POSTS

3 Reviews
Betty Davis 7 months ago

Needs a backup to restore.

Mansour jabinpour 7 months ago

I'd recommend checking your WordPress dashboard under "Trash"

Margaret White 8 months ago

This plugin actually delivers on what it says, but I kinda wish it was a little more user friendly. when a page disappeared from our site, I had to dig through the logs to track down who deleted it. the guide was helpful, but it still took way longer than I thought it would

mehdiadmin 8 months ago

Thanks for your feedback. We're working on making the troubleshooting process even smoother in future updates

Sarah Taylor 8 months ago

Did exactly what it promised huge time saver.

mehdiadmin 8 months ago

We're really pleased the process was quick and

Please log in to leave a review.