akismet

5 Quick To-Dos After A WordPress Installation

by LunchBox on March 9th, 2010 in Tips

Congratulations, you’ve just installed Wordpress.  What next?  Before you start customizing and writing posts, here are a few things you can do to improve and secure your WordPress installation.

  1. Disable HTML in Comments
    If you do not want your users styling their comments, or spamming them with links, you can add this line of code to your functions.php file:

    add_filter( 'pre_comment_content', 'wp_specialchars' );
  2. Remove WordPress version from the source code
    Anyone can view the source code of your website.  In most cases, your header.php file will contain the version number of your current installation.  To have it automatically removed, add this to your functions.php file:

    remove_action('wp_head', 'wp_generator');

    This prevents any hackers from targeting the flaws and bugs of a specific version of WordPress to hack your website. …Read More