Home » Wordpress » Increase Security of WordPress Website

Increase Security of WordPress Website

Since WordPress is an open source CMS, it have some security holes, so that there is a chance to be get hacked. We can prevent these issue for some extend by taking some simple steps.

1. Use your own prefix for the database while installing WordPress rather than the default ‘wp_’

2. Usually WordPress admin will having the id, 1 in the database, this will be more helpful for the hackers to hack the details of the user with id 1. So it will be better to change the id of the admin user.

3. Change the error message ie being shown while a wrong password has been entered. By default WordPress shows a message “ERROR: The password you entered for the username admin is incorrect”

This will give hacker the idea that, the username entered is correct. So change the error message in such a way that it cant be identified.

To do that add the following code in your theme’s function.php file.

4. Also disable the file edit functionality in the admin area. It can be done by adding the following code in your theme’s function.php file.

5. Remove the WordPress version tag that is appearing on the header part of the website. Do this by placing the following code in your theme’s function.php file.

6. Also rename the readme.html file in the root folder to some other name. eg : testfile727298823.html.

7. Disable the edit functionality of site url and home url from the admin side. To do this plac the following code in your wp-config.php file.

8. Use plugin like Lockdown WP Admin. This plugin can be used to hide the default admin path like http://www.yourdomain.com/wp-admin and http://www.yourdomain.com/wp-login.php to some other custom path, like http://www.yourdomain.com/customadmin/

Download the plugin : Click here

About the author


Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

1 Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.