Failure to follow the security tips on a website can cause many problems that can sometimes be irreparable. But increasing security creates a safe layer against intrusions and other problems. You must have encountered the phrase many times that “security is never 100%! ”. Yes that’s right! But there are always different ways to maximize security that are covered in this short article.

Secure Host Selection (HOST)

Unfortunately, in most cases, a website is hacked due to the host security weakness. To choose a host, try to spend a little more and do not base your choice only on the low cost.

Keep WordPress up to date

Periodic updates that WordPress releases focus on fixing problems, fixing security holes and vulnerabilities, or adding new features. So always keep your WordPress up to date. To ensure updates, you can download them automatically by adding the following code to the wp-config.php file.

define ( ‘WP_AUTO_UPDATE_CORE’, true );

Hide WordPress version

This change may not be necessary for those who keep their WordPress up to date. But to make sure that a vulnerability in a version of WordPress does not cause abuse, you can hide it by adding the following code in the function.php file of your theme.

remove_action( ‘wp_head’, ‘wp_generator’ );

Disable shell and plugin editor

The WordPress Counter Template Editor and Plugin may make a website inaccessible if you hack into an account. To disable the editor, enter the following code in the wp-config.php file.

define( ‘DISALLOW_FILE_EDIT’, true );

Enable SSL on the website

Enabling the SSL protocol is essential for any website. SSL is used for secure data transfer. Enabling it will change your website address from to Most web hosts now enable this feature for free for their affiliate sites. Once activated, you can use the redirect tutorial from http to https in wordpress to transfer the address.

Make regular backups

Make sure you back up your WordPress website on a regular basis. Having a backup of your data can make you think about losing your data! You can use backup plugins like All-in-One WP Migration to do this.

Update plugins and skins

Keeping WordPress up to date is not the only condition for increasing website security! This includes plugins and themes. So always try to update them as well; Because most intrusions have occurred through vulnerabilities in plugins and shells. Enter the following code in wp-config.php to automatically update plugins and skins, respectively.

add_filter( ‘auto_update_plugin’, ‘__return_true’ )

Note: Of course, since version 5.5 of WordPress, an automatic update feature has been added for the kernel (security patches) as well as plugins and skins, which can be updated without periodic checks and using the above code.

Remove useless plugins and skins

Be sure to note that if you have a theme or plugin in WordPress that is not being used, remove it to ensure that no problems occur.

Change outdated plugins

Most WordPress users are usually interested in a number of plugins and use them. Sometimes, because of this interest, they ignore the fact that they were not updated by the manufacturer and continue to use it. This method is very dangerous for a website. To avoid problems, try replacing the outdated plugin with an update plugin with the same functionality.

Do not use free commercial plugins and skins!

It may seem strange to say this; But it is true. You should reconsider using the commercial plugins and themes that are available for free. The reason for this is the possibility of malicious code and the lack of support and updates due to their commercial nature.

Do not choose the admin username!

It is often seen that when creating a username, the common admin username is used for management. It is very easy for the intruder to guess this username, so try to choose the right username.

Suggestion: Create a user with the admin username and choose contributor role for it.

Use a secure password

Try to choose a combination of letters, numbers, and characters for your password. Avoid choosing short passwords with the same name as usernames, simple numbers, or simple words. Fortunately, newer versions of WordPress have the ability to test password security.

Tip: Try to change your password periodically.

Use of captcha in forms

The use of captcha in forms, especially the entry form, prevents robots from trying to enter. There are many plugins in this field in the WordPress repository.

Restrict entry attempts

With this restriction, the possibility of hacker abuse will be minimized if the password is tested and guessed. For example, the IP can be blocked by two unsuccessful attempts through the login form. You can use plugins like WP Limit Login Attempts to do this.

Track user behavior

Tracking user actions on the website is one of the capabilities that can be used to increase security as well as control requests. In this regard, the WP Security Audit Log plugin can be suggested. This plugin can well inform the management of the events on the site by recording the user’s behavior.

The tips in this article, as well as other ways to increase the security of your WordPress site, can go a long way in helping you create a secure web design. I hope you find these tips useful, as well as those that will be added to this article in the future.

Leave a Reply

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