Solved

Wordpress activity log

Posted on 2013-06-26
2
326 Views
Last Modified: 2013-08-01
We have several weird things happen with our wordpress site.  Several pages were sent to trash and we're curious to know if there is a log file that may track the activity in the site from Wordpress.  I'm not thinking its malicious, but rather someone in our church that didn't know what they were doing.

suggestions?
0
Comment
Question by:axessJosh
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39280193
The best log file to look at is the apache access log.  You should be able to narrow down who submitted the trash request from that log.

If not, there are several plugins that you could install to track activity on the site.  I know that VaultPress keeps an audit trail but it's a premium plugin.  Most of the better security plugins also keep an audit trail as it is useful to diagnose attacks; catching a rogue user is just a bonus.  

You might also look into a small but growing class of audit plugins:

http://wordpress.org/plugins/wp-security-audit-log/

Looks promising.

But right now, the access log is your best bet if you don't have anything else that tracks stuff installed on the site.  You might be able to go through the wp_posts and wp_postmeta tables and get some useful info about who last edited the file or see the revision history if you are allowing WP to track revisions.  The problem with tha approach is that if the person deleted the posts from the list page, it may not leave a trail there.
0
 
LVL 18

Expert Comment

by:Matthew Kelly
ID: 39300307
Perhaps easier; Deletes and Restores show up as "Revisions". After you restore the item, if you open the post up and then click "Screen Options" in the top right hand corner and check the "Revisions" box there will be a list of revision dates.

It is not labeled "Moved to Trash" or "Restored" but if you know the time frame it happened in and there weren't a bunch of other edits made to it you could tell which user did it. Or at least tell which users recently touched the post so you can perhaps give some user training about avoiding accidentally clicking the "Move to Trash" link, which is easy to do for non-computer literate because you can do it right from the grid view of "All Posts". Especially someone with a touch screen computer, they may have just meant to click "Edit" or "View" and accidentally clicked "Trash".
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
Wordpress Horizontal Drop-Down Menu In this tutorial I will show you had to add a WordPress horizontal navigation menu to your theme. I have searched and searched for a good tutorial on creating a WordPress nav menu without adding a plug-in or us…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now