By Christopher Ambler on Wednesday, 02 November 2022
Posted in EasyBlog
Replies 5
Likes 0
Views 385
Votes 0
Is there any functionality to completely delete old posts? That is, delete all posts older than, say, a year, including all images, attachments and such?

My database and file storage is getting HUGE with four years of posts, some which are daily, with images. I need to get them cleaned up as it's affecting my storage/hosting bill.

That's real money I shouldn't be spending!
Hi Christopher,

You would have to manually trash the post, then go to the trash section to empty the trash.

If you don't want to manually find the posts according to the time in the post listing, you can setup cronjob to archive old posts. Then you just have to go to the archive section, trash the post, then empty the trash.
·
Wednesday, 02 November 2022 10:53
·
0 Likes
·
0 Votes
·
0 Comments
·
That means manual human work every day.

If a cron job can archive, why can't it trash? This seems something that would be quite obvious to automate.

A single configuration option that takes a number of days and says "trash posts older than this many days."
·
Wednesday, 02 November 2022 10:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently there is no automation feature for trashing posts.
·
Wednesday, 02 November 2022 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Is there a process for formally requesting this as a feature?

With archive as a feature, full-deletion is a glaring omission.
·
Wednesday, 02 November 2022 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
You may create feature requests here.
·
Thursday, 03 November 2022 10:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post