How To Disable Post Revisions and Autosave on WordPress - DailyBlogTips |
How To Disable Post Revisions and Autosave on WordPress Posted: 13 Nov 2013 05:01 AM PST WordPress has a “Post Revisions” feature that automatically stores in the database various versions of your posts, so that you can roll back to earlier versions if necessary. This is a useful feature in some situations. For instance, if you accidentally erase the content of a post you would be able to get an older version. Similarly, if you have multiple authors on your blog this feature might help to fix undesired changes or edits to some of the posts. That being said if you are the only person posting on your blog and if you are careful when editing the posts you might find that you’ll never use the post revisions feature. If this is the case I suggest that you turn it off, as by doing so you will be reducing the number of entries on your database. Suppose that, on average, each post ends up having five saved revisions. This means that a blog with 1000 posts would have 6000 entries in the database (1000 for the posts and 5000 for the revisions). In other words, you could be saving some space and improving the performance of your database queries (even if slightly). To disable post revisions simply add the following code to your wp-config.php file (remember to back it up before making any changes, in case anything goes wrong):
Another change you can make is to increase the time interval of the auto-saves on your posts, as it can be annoying, specially on slow connections. The default is 60 seconds (i.e., WordPress auto-saves your posts every minute). If you want to increase it to 180 minutes (i.e., 3 minuteS), add the code below to the same wp-config.php file:
Finally, you can also remove all the existent post revisions from your database, but I wouldn’t recommend doing it unless you are quite familiar with MySQL and databases. There are some “database cleaning” plugins around as well which could be used for this purpose. Wanna learn how to make more money with your website? Check the Online Profits training program! |
Is Your Name Displaying Incorrectly on Your Blog? Here’s How to Fix It Posted: 12 Nov 2013 07:46 AM PST Every post and comment you write on your blog has your name attached. And if your name is set to "admin" or "ali01" or similar, it's not going to create the best impression. I made this mistake with my first attempt at a "pro" blog. For an embarrassingly long time – months! – my name showed up as "admin". Once I figured out how to change it, I was kicking myself for not doing it sooner. Here's how to fix how your name displays on your blog. (These instructions apply to WordPress … but the same principles go for any blog platform; you need to make sure your name displays the way you want it to.)
Here's how my name information looks on DailyBlogTips: (I've blanked out my username for security reasons.) It's as simple as that! Did you need to change your display name – or have you been on top of this for months already? Let us know in the comments! Wanna learn how to make more money with your website? Check the Online Profits training program! |
You are subscribed to email updates from Daily Blog Tips To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 comments:
Post a Comment