I’ve talked before about how the “ping” system works in WordPress. But there is a bit more to the ping element than just notifying other systems when a post is published.
The trouble is that WordPress apparently sends the ping when a post is published or updated, regardless of the actually time the post is set to appear.
If you only publish your posts in real time and never go back to edit them, then that probably doesn’t worry you.
But if you write a number of posts in succession and then set them to appear over a number of weeks, or if you find yourself going back and editing posts on a regular basis, then you should consider what it looks like to the ping recipients if they get a lot of pings in a small space of time, but then none for the next few weeks.
It could make your site look like a spam blog, even though it isn’t.
The solution Continue reading
Last week I showed you how to control the number of revisions that are saved for each post using the Revision Control plug-in.
That stops too many revisions being saved in the futures, but I suspect that most of you reading this will already have a blog running, and will therefore have quite a number of revisions already in the site’s database. Since the database is searched every time a post is displayed, it makes sense to remove these revisions as well so as not to slow down the time it takes to retrieve the post. Continue reading
When you write a post in WordPress, it is advisable to save it every now and then in case something goes wrong. Your computer or the web browser may crash, or you may lose the internet connection. In early versions, each post was saved just once and so when you saved your work, it overwrote the previous version of the post. On occasion that went wrong and the whole post was lost.
So WordPress introduced “revisions”. Put simply, every time you save the post, a new copy of it is saved, similar to in Wikipedia. This stops things getting overwritten, and also allows you to revert back to a previous version if you want to do so.
The only with this is that by the time you come to publish the post, it probably has several versions saved in the site’s database. And since WordPress automatically saves edited posts sometimes as well, this can make the posts part of the database several times larger than it needs to be. After all, once a post has been published, you may not need all of those versions. Continue reading