fbpx
How to Secure a WordPress Site

How to Secure a WordPress Site

There’s a lot of generic security advice online such as using strong passwords and backing up your data. These basics are certainly valuable but we’re going to focus on more advanced approaches to secure your WordPress site.

 

1: Pick a Secure Web Hosting Service

Perhaps one of the most important things you can do to secure your WordPress site is to start with a strong foundation. This means choosing a reputable and reliable hosting provider like GTG Hosting based in the UK and using cloud technology like AWS to power their networks.

 

Some web hosts enforce higher security standards and go the extra mile to keep your website safe. Budget options may be attractive, but they generally cut corners in one way or another to keep costs down.

 

If you want to avoid a lot of headaches for years to come, opt for the best in WordPress hosting right away and we recommend GTG Hosting  who offer managed WordPress hosting plans. That means they take care of certain maintenance tasks for you, such as running updates. They also secure your server and employ various threat detection and prevention measures. If you want to look at more options, check out our list of approved services. Any of them will make for a quality hosting partner.

 

 

2: Set Up an SSL Certificate and Enable HTTPS

HyperText Transfer Protocol Secure (HTTPS) is an encrypted version of regular HTTP. This means all the data that moves between a user’s browser and the website they’re visiting is safe from bots that might try to intercept it. Most browsers let you know if you’re viewing a secure website with a simple padlock icon next to the URL.

 

To enable HTTPS for your own website, you need a Secure Sockets Layer (SSL) certificate. It validates your website so visitors know their information is protected.

 

These days, most of the websites you visit probably use HTTPS and have valid SSL certificates set up. Users are becoming smarter when it comes to online safety and are more likely to steer clear of sites that aren’t secure, so it’s to your benefit from a traffic standpoint, too. Plus, HTTPS is so crucial for keeping the web safe that search engines actively favour sites that use this protocol. There’s no excuse not to set one up even if you don’t deal with sensitive data such as credit card details. GTG Hosting provides free SSL certificates on all domains hosted on any of it’s hosting plans.

 

 

3: Use Plugins and Themes that Receive Regular Updates

Software that receives regular updates from its developers is generally speaking, more secure. Take WordPress, for example. For each major version release, there are often several security patches and minor upgrades in between:

 

That same logic applies to plugins and themes. The more extensions you run, the more potential attack your site has. That makes it all the more important for you to only use tools that receive regular updates.

 

The question is, what constitutes ‘regular updates’? As far as we’re concerned, we won’t touch a plugin or theme that hasn’t been upgraded within the four months. That’s almost an eternity in development cycles and it generally shows there’s a lack of interest in continued maintenance. Whether you’re downloading plugins and themes from WordPress.org or other sources, you can usually see the most recent update date. If there are reviews, you’ll also want to take a closer look at them. Additionally, remember to run updates for your plugins and theme periodically. It’s a simple thing, but you’d be surprised at how many people forget about it, even with WordPress dashboard notifications.

 

If you’re using managed WordPress hosting, your provider may take care of updates for you. Alternatively, you could also invest in a maintenance service such as one of Halisisolutions.com’s care plans to accomplish the same outcome. That’s one less task for you to worry about.

 

 

4: Protect Your Login Page

Your Login page is the gateway that keeps attackers outside of your dashboard. However, the security of this area depends entirely on you. If you choose to re-use passwords or create easy-to-guess credentials, you’re doing your website a disservice.

 

If you’re ready to step up your Login page’s security, there are a lot of other changes you can implement to make a big difference, such as:

 

  • Changing your WordPress Login page URL
  • Limiting login attempts (with over 1 million installs)
  • Setting up a CAPTCHA to keep bots out

Merely changing the default WordPress Login page address from yourwebsite.com/wp-login.php is enough to stop a lot of the most straightforward attacks on your website. However, in case someone does identify your new URL, limiting the number of login attempts they can dissuade attackers as well.

 

 

5: Integrate an Activity Log Solution

To secure your WordPress site, activity or audit logs are one of the most useful security tools you can have in your WordPress arsenal to secure your WordPress site. In a nutshell, they record any noteworthy events that occur on your website and enable you to easily browse that data:

 

Take the example if someone is trying to crack your Login page. An activity log plugin will let you know every time someone tries to access your WordPress dashboard and whether they succeed or fail. If you see a large number of failed attempts from the same IP address, then you know a bot was likely trying to hack your site.

 

The types of events that an activity log enables you to track will depend on which tool you use. Some of our favourite plugins for the job include the following:

Simple History. If you want something that’s easier to use, Simple History doesn’t offer as much in-depth information, but it still enables you to track events such as failed logins.

 

WP Security Audit Log. An in-depth tool that enables you to track almost everything that happens on your website. That includes login attempts, profile changes, errors, and more.

 

Activity logs may seem like overkill. However, you’ll be glad you have access to the data they provide in the event something does go wrong with your website. After all, if you can pinpoint the source of security breaches, even after they’ve occurred, you can better prevent them from happening again.

 

 

6: Manage User Permissions

Enforcing correct user roles is critical if you’re using complex software such as WordPress. As the administrator, you have full access to every part of the CMS and you can change anything you want. However, no other user should have that same level of permissions.

 

Out of the box, WordPress includes five default roles you can assign to new users, each with a different set of permissions:

 

  • Administrator: Has full access to all content, plugins, themes, and settings.
  • Editor: Can make changes to all content, comments, and related settings, but not plugins, themes, or site-wide options.
  • Author: Is able to edit, publish, and delete their own posts.
  • Contributor: Can edit and delete their own posts.
  • Subscriber: Has permission to view your site and (in some cases) leave comments.

 

From a security standpoint, permissions are very cut-and-dry. It’s an effective system by default, but if you want to lock your dashboard down even further, there are plugins that enable you to modify user roles, such as the aptly-named User Role Editor plugin.

 

A smart rule of thumb is that no one should have more permissions than they need to do their job. As few people as possible should have full access.

 

7: Whitelist Access to Your WordPress Dashboard

To secure your WordPress site, you want to take dashboard security a step further, you can whitelist specific IP addresses so only those users can access the back end of your site. It’s an effective approach, but it also poses some technical difficulties. For example:

 

You’ll have to routinely add new IPs to the list for users without static addresses.

You yourself will need to have a static IP, so you don’t lose access.

Depending on your Internet Service Provider, you might not have a static IP address. However, that’s something you can work around by using a Virtual Private Network (VPN).

 

You can even set up your own VPN with the right software and a cheap Virtual Private Server (VPS), to save a little money and get full privacy. If you want to implement a whitelist, you’ll need to edit WordPress’ .htaccess file, which is easier than you might imagine.

 

So in wrapping up, securing a WordPress website isn’t all that complicated, but it does take some time. Fortunately, a lot of the most popular safety measures don’t require much maintenance after you implement them. A little extra work now can keep your website safe for years to come.

 

When it comes to securing WordPress, you’ll want to start by choosing a reliable host and setting up an SSL certificate. Then, follow up by reinforcing your Login page defences and controlling who has access to your dashboard.

About the Author

Leave a Reply