Common sense • Secure password • Keep Wordpress & plugins up-to-date • Delete unused files • Use a reputable web host • Clean your site/blog like you clean your house
Some security Steps 1. Regular backups are best friend 2. Change table prefix 3. Proper file & folder permissions 4. Use secret keys 5. Protect your wp-config.php file 6. Protect your .htaccess file 7. Remove the admin account 8. Do not advertise your WordPress version to the world 9. Limit the number of login attempts 10. Prevent users from browsing your Wordpress directories 11. Use security plugins
1. Regular backups are best friend • Take backups • plug-ins available – BackUpWordPress http://wordpress.org/extend/plugins/b ackupwordpres/ – BackWPup http://wordpress.org/extend/plugins/b ackwpup/
2. Change Table Prefix Steps: 1. Open wp-config.php and change $table_prefix = 'wp_wordcamp'; 2. Change all database table name with this prefix (through phpmyadmin)
4. Use secure keys • To increase the security of passwords stored in your WordPress database, you should ensure that your wp- config.php file has unique values. • Step: Generate unique keys through https://api.wordpress.org/secret-key/1.1/ https://api.wordpress.org/secret-key/1.1/salt/
7. Remove the admin account • The default account created for you in wordpress is admin • Steps: 1. Create a new user with Administrator permissions 2. Log out and then log back into wordpress with the new user you created 3. Delete the admin user account 4. When it asks you want to do with posts attributed to admin, select the user you created
8. Delete Wordpress version • WordPress sites always publish the version number thus making it easier for people to determine if you are running an outdated non-patched version of WordPress. Step: Include this line into functions.php: remove_action('wp_head', 'wp_generator');