You’ve finally got your website on a web host, and you’re using cPanel to host it. At this point, many webmasters sit back and let their website coast. The problem is that thousands of WordPress sites are hacked every single day.
New exploits and vulnerabilities are constantly being discovered and used against unsuspecting website owners. Today, nearly 23% of every website on the Internet runs on WordPress, so it should come as no surprise that it’s a popular target among hackers.
The biggest mistake that website owners make is thinking it will never happen to them. The best way to secure a WordPress site is to proactively prevent the hack from occurring. If you ask anyone who has had their website hacked, they’ll probably tell you they wish they would’ve been more proactive about website security.
Although it might seem difficult, it’s much easier to prevent your website from getting hacked than it is to deal with the aftermath. Fortunately, there are several simple steps that you can take to secure your WordPress site on a cPanel hosting account.
Make Sure Your Host Is Trustworthy
The hosting company that you choose to host your website with is very important. The average webmaster doesn’t spend enough time finding a solid host.
While there are many steps that you can take to secure your actual WordPress installation, the hosting company that you choose is just as important. Many website owners don’t know that different web hosts use different types of software on the backend.
They also use different types of hardware. This means the cPanel accounts on some hosting companies are far more secure than others. If you’ve ever hosted a website with a web host that charges $1.00 per month and couldn’t seem to figure out why your site kept getting hacked, this is the answer.
According to research, only 8% of WordPress sites are hacked because of poor login information. About 41% of all successful WordPress hacks are the result of poor security on the server side, which is your hosting company’s fault. Don’t be afraid to spend extra money on a reliable host to make your website more secure.
Be Careful With Themes and Plugins
About 51% of WordPress sites are hacked because of vulnerabilities in themes and plugins. In other words, over half of all successful WordPress hacks occur because website owners don’t choose plugins and themes carefully enough.
First, you should always make sure you only install plugins that you absolutely need. You can think of WordPress plugins like doors into your home. Every plugin that you install is another entry point for hackers. The reality is that many plugins are poorly coded, so hackers can exploit them and gain access to your website.
You should regularly delete unused plugins and keep your total number of installed plugins as low as possible. It’s just as important to make sure you don’t have any unused themes installed.
Keep Everything Up To Date
When you log into your WordPress site and see several plugins that need to be updated, it’s natural to tell yourself that you’ll update them later.
The problem is that most people forget and put it off until it’s too late. If you own a WordPress site, you should always keep your plugins and themes updated. In fact, you should make a habit out of updating them regularly.
Most plugins and themes are updated because vulnerabilities were found and patched. Without updates, your plugins and themes could leave your entire site vulnerable.
With some simple lines of code, you can set your WordPress installation to update automatically, which means you don’t have to spend any time updating them.
Only Download From Trusted Sources
When you’re looking for new plugins or themes, you should always make sure to download from a trusted source.
Make sure you purchase these products from legitimate companies, and if you’re installing free plugins or themes, they should always be from a trusted source, such as the official WordPress site. By installing plugins from unknown sources, you run the risk of giving hackers access to your site.
There is always the chance that the plugin is set up to give someone remote access to your site, and plugins from unknown sources might have poor coding, which is another way hackers can gain access.
Securing Your WP-CONFIG File
The WP-CONFIG file is like the master key for your WordPress site. If a hacker is able to manipulate it correctly, they can gain access to your site and do whatever they want. The WP-CONFIG file is helpful for keeping hackers out, but it’s also a good idea to secure the WP-CONFIG file.
Fortunately, you can add a few simple lines of code to the .HTACCESS file, which can be located in the main directory in your cPanel account. When applying this code, you need to make sure it’s placed outside of the #BEGIN and #END WordPress tags.
Contact us if you need help with securing your WordPress site.
Make Passwords Strong
Many website owners tend to make the mistake of choosing a weak password. Although many companies are making their content management systems better at forcing users to create a strong password, there are many that still aren’t following this practice.
To create a password that will be nearly impossible to break with a brute force attack, use a simple password generator and keep track of your passwords using a simple notepad or Microsoft Excel file. Make sure you have strong password for your cPanel account and WordPress installation.
Always Keep Backups
The reality is that it’s impossible to keep your WordPress website 100% secure on a cPanel account. However, by creating and storing regular backups, you’re almost guaranteed to survive any attack. The beauty of keeping backups is that it protects you from anything a hacker can do.
It’s crucial to make sure you keep backups of your WordPress installation and cPanel account. Both WordPress and cPanel actually make it very easy to do this. For cPanel, be sure to maintain a backup of your database, email accounts and full directory.
You should try to create backups at least twice per month, and for additional safety, make sure to keep at least five months of backups because you might accidently create backups after your site has already been hacked and infected.
With backups, you can always restore the damage caused by hackers, regardless of how bad they hit your site. These are some very simple tips that you can use to keep your WordPress site secure on a cPanel hosting account.