How to Secure WordPress Site Guide & Tips

WordPress is most use framework on the web and most widely used open-source CMS in the world, you might hear a security vulnerability that is detected on WordPress and Secure Site and is being fixed. There are a lot of reports of WordPress websites being hacked and losing their data. Therefore, it is important to discuss the various effective methods of securing the WordPress site. follow the tips below and secure your WordPress website.

Why Is Securing WordPress Website is Important?

There are so many reasons for securing your WordPress website. For example, open-source CMS, all WordPress code and behavior are same, one is keeping spammers who are trying to hack your site out of your wp-admin.

1. Install WordPress Manually

First of all, why install WordPress manually are some different reason for manual installing WordPress? The answer is if you are install automatic option using hosting server, it contain some unwanted third-party, scripts this can always catch your website data analytics by other in place.

You must be install WordPress manually, through official website file download and install your cPanel, this will perform fast and most secure user site.

Install WordPress Manually

2. Install an SSL Certificate (HTTP to HTTPS)

You need to secure your website using SSL Certificate, This is important because Google shows search engines and web browsers by “Secure” website use SSL Certificate HTTPS. SSL certificate for your site makes it difficult for the hackers to get your information and also affects your WordPress website Google rankings.

Purchase an SSL certificate for your website is quite simple. you will need to chat with your hosting company. Your hosting company will need to add your SSL certificate to associate it to your domain name.

Install an SSL Certificate

3. Enable reCAPTCHA

One of the most common hacking attempts is the ones that are done from the stolen passwords. Thus, to make it a bit secure, the user can make a problematic password that is unique for the website, and among great WordPress security tips.

Enable reCAPTCHA

4. Enable Google Search Console

Google search console advises the use webmaster tools to begin the host on any malicious direct inform to user through notification. Although it is one of the non-ideal situations where the website hack and thus prevents from being hacked. Google and many other search engines tend to have an interest in making a website clean and free of malware.

Enable Google Search Console

5. A Good Web Hosting Company

Website security begins with a secure managed WordPress hosting provider. This has become an essential aspect of building your online presence. A secure web host will not only have industry-proven security processes in place but also have your back in case something goes wrong with your website.

A Good Web Hosting Company

6. Use a long Tail Theme

Poorly developed theme can have vulnerability, hacks, and various security breaches issues that leaves your WordPress site security problems and not longer to roll out the security update their theme.

Use a long Tail Theme

7. Keep WordPress Updated

WordPress has improved with security and make sure you’ve got the latest version of WordPress. Update WordPress, the user needs to go on the dashboard. At the top of the page, there would be an announcement every time a new version is out that have now been fixed.

Keep WordPress Updated

8. Protect .htaccess

.htaccess is basically used to specify the WordPress security restrictions for a particular directory and is the default name of a directory level configuration.

In order to secure your blog from the attack of hackers, simply place the below mentioned snippet in the domain’s root .htaccess files, hide sensitive server and WordPress files from unauthorized access.

<files .htaccess>Order allow,deny
Deny from all</files>
<files readme.html>Order allow,deny
Deny from all</files>
<files license.txt>Order allow,deny
Deny from all</files>
<files install.php>Order allow,deny
Deny from all</files>
<files wp-config.php>Order allow,deny
Deny from all</files>
<files error_log>Order allow,deny
Deny from all</files>
<files fantastico_fileslist.txt>Order allow,deny
Deny from all</files>
<files fantversion.php>Order allow,deny
Deny from all</files>
Protect .htaccess

9. Disallow Theme and Plugin File Editing

Admin access to the WordPress dashboard, then they have the authority to edit files that are a section of WordPress installation. If the user tends to disallow file editing, then no one would be able to modify any files you need to quickly add a line of code to the wp-config.php file.

define(‘DISALLOW_FILE_EDIT’, true);
Disallow Theme and Plugin File Editing

10. Remove your WordPress version number

Your current WordPress version number can be found very easily. It’s basically sitting right there in your site’s source view. You can hide your version number with almost every WordPress security plugin that I mentioned above.

For a more manual approach remove the version number from RSS feeds, consider adding the following function to your functions.php file:

function techboto_remove_version() {
return '';
add_filter('the_generator', 'techboto_remove_version');

11. File to a Non-WWW Directory

The wp-config.php file is one of the most important files in your WordPress installation. Make it to disable or harder to access this file, moving it from the root directory to a non-www accessible directory.

Adding the following line of code below to wp-config.php file:


Save the new wp-config.php file to a different folder.

12. Customize your login page URL

The WordPress have same default login URL is wp-login.php or wp-admin, like or

This feature WordPress default login page, hackers a convenient starting point for hacking into your website. That’s why you should customize the URL of your login page. By changing your login page URL, make your website more secure and more challenging for hackers to crack.

There are two different type to change login page URL, one is using plugin and another without plugin.

Plugin name Rename wp-login.php or iThemes Security can change your default login URL, user use this plugin you can create a unique URL for logging in to your WordPress site.

Other Popular Articles...

Leave a Comment