A user of our website unintentionally deleted a blog post today whilst trying to remove a photo from the blog. I've tried to investigate if the blog still exists anywhere on the server but I can't find it - would anyone happen to know where the blog posts are stored and if they are restorable? The blog is not listed on the trash page...
Any ideas or information would be appreciated!!
Blog posts are stored in /data/_addondata/['Simple_Blog' or random string*]/posts
and are enumerated in /data/_addondata/['Simple_Blog' or random string*]/index.php -> $blogData = array ( 'post_index' => n, … )
There is no trash folder for deleted posts, but you might be able to restore them from a server backup, if available.
* the random string is generated when the addon is remote installed (downloaded and installed from within Typesetter).
If there are multiple random string folders you will have to find the one containing the /posts directory
Find out more about our Provider Spotlight