Category Archives: WordPress Tips & Tricks

Block Repeat Spam Offenders From Your WordPress Blog

Some excellent WordPress security tweaks can be found at this article on Smashing Magazine, including ways to protect your wp-config file and prevent hot-linking to images on your site. My personal favorite is this snippet of code entered into your .htaccess file to ban persistent spam bots from your blog: Paste the following code in [...]
Posted in WordPress Tips & Tricks | Tagged , | Leave a comment

Make WordPress Take Out The Trash

A simple and very useful trick by way of WP Recipes that tells WordPress to automatically empty the trash: Simply open your wp-config.php file (located at the root of your WOrdPress install) and paste the following code: define('EMPTY_TRASH_DAYS', 10 ); The second parameter is when to empty trash, in days. If you’re like me, you’re [...]
Posted in WordPress Tips & Tricks | Tagged , | Leave a comment