Simple Tips to Improving the Security of Your WordPress Website

Technology

Best internet security tips that help you to protect your server.

internet security tips

One of the first things you should do when running a virtual private server is to make your server as secure as possible.

1. Update Your Software

Updating the software is one of the most important and best Internet security tips to secure your server. Every day there are many vulnerabilities in various Linux applications, services and scripts, and new permanent versions are released very quickly. Installing updates on the server is important and strongly recommended. You can keep your server up to date using your distribution’s package manager, such as “yum” or “apt-get”.

2. Use Strong Passwords

The second best internet security tip is always used as a strong password. Passwords are the best front line defense for your server. A strong password consists of a combination of letters (both upper and lower case), numbers and special characters and it should be at least 8 characters long.

3. Stop / Disable Unneeded Services

All Linux distributions usually have many services configured that will run each time the server is started.

4. Disable ‘root’ login via SSH

The “root” account has full control over the entire server, so allowing SSH to log in directly as “root” is one of the biggest security threats.

5. Delete Inactive Accounts

User accounts that are not used for a long time pose a potential threat to server security.

Simple Tips to Improving the Security of Your WordPress Website

 

Improving the Security of Your WordPress Website

Use a secure username

During the installation of WordPress, you will be asked to enter the username that will be the administrator. Many simply choose the first thing they get - for example, admin.

Undoubtedly, such username is easiest to remember, but it is the most unsafe. After all, it is from him that different bots usually start their attacks - they just have to pick up a password.

If you use a random combination of letters - or at least something different from admin - then you will complicate the life of the attackers: they will need to guess the username and password.

Naturally, the solution to this problem is very simple - when installing WordPress, choose a safe username for yourself.

Unfortunately, if you have already selected the username admin, you will not be able to change it in the WordPress console. The easiest way out of this situation is to create a new user with administrator privileges, log in to this new account and delete the old admin account. If you have already published entries under the old admin account, it's okay - all your entries can be assigned to a new user.

Move the login page

There is another goal that is usually attacked by cybercriminals - this is your login page.

In the installation process, WordPress uses the wp-admin and wp-login addresses for the login page - for example, www.example.com/wp-admin.

Those. I can access these pages if the site has WordPress. True, I still need to somehow find a username and password, but the fact remains - there is access.

The good news: you can easily change the wp-admin url, making it harder to find your login page.

Just install the HC Custom WP-Admin URL plugin and you can enter any address for the login page. For example, www.example.com/randomletters.

Hide your username

If you followed the previous tips, then, in this case, you will already have a secure username - different from admin.

However, bots can get your username in other ways that are not so obvious. They can use the URL of the author’s archives - usually, it can be accessed by clicking on the author’s name after the article.

By default, the URL of the author’s archives will look like this: www.example.com/author/johnsmith.

What is the username of the author of this article? That's right, john smith, and a simple mouse click can show it.

If robots have access to the username, then they can subsequently hack this account; they will only need to find a password.

However, this URL can be changed; it all comes down to how WordPress uses the author field. WordPress uses a field called user_nicename; it is automatically filled in with the name of the author - for this very reason archives by the author display the username.

Talking about the database can lead some people to a real panic, so we will try to keep everything as simple as possible.

After accessing the database through phpMyAdmin, you will need to find a table called wp_users. You will see a list of users, and somewhere in the table, there will also be a column user_nicename. Click on user_nicename and edit it in any way: do not use spaces in this field, as this will lead to a 404 error.

Limit the number of login attempts

Since brute force attacks have become more frequent lately, you may need to limit the number of failed logon attempts from the same IP range.

By protecting your credentials, you complicate the work of bots and attackers; however, over time, they will still be able to find the right combination.

If you limit the number of incorrect login attempts from a separate IP address - or a range of IP addresses - then you will significantly reduce the effectiveness of brute force attacks. This solution is not perfect since hackers can use different IP addresses, but this is definitely a positive step that will allow you to increase the security of your site.

Use secure hosting

So far, we have been considering things that are up to you.

However, over 41% of all sites were hacked due to vulnerabilities on the hosting side.

This is true: your hosting may be the most vulnerable place for hacker attacks. And besides choosing the right hosting, you can not do anything about it.

I advise you to make sure that you are using a proven hosting that has many positive reviews - do not focus on the price.

It is worth talking with different providers to make sure that their employees are well aware of security issues - especially WordPress issues - and that they have the appropriate security tools.

Disable the plugin and theme editor

If the brute force attack is successful, and the hacker can access your site, what damage can he cause? Potentially the most different.

A hacker can add malicious code to the site, leading to numerous problems. It is very simple to do: a hacker just needs to go to the console section Appearance - Editor. With access to this area, anyone with evil motives can easily break your topic and your entire site.

Add Security Plugin

If you want to take the final step in protecting your site, be sure to install the security plugin.

Such solutions help protect your site in many ways, and they constitute the very last level of protection for your site.

Security WordPress is an important thing today because the market is filled with both paid and free solutions.

I personally chose the iThemes plugin for myself - it comes in a light version and in a pro version.

The pro version of the plugin regularly scans and protects your site from viruses, offering a huge list of different protection options. You can even add two-factor authentication to the login page - users will not only need to enter a password but also request a code sent to their mobile phone.