How to Get the Most Out of Defender Security

Keeping your WordPress site safe often requires no more than the click of a button with Defender, our 5-star WordPress security plugin.

Defender protects your site 24/7 against hackers, malicious code, SQL injections, and much more. This guide shows you how to get the most out of using the plugin.

With Defender installed,  your site’s security needs are automatically handled.

One of the great things about Defender is that he’ll automatically start suggesting ways to boost your site’s security as soon as he’s installed. He’ll then continue making regular suggestions while keeping your site safe, secure, and protected.

Despite all the built-in automation, when it comes to getting the most out of the plugin, Defender gives you plenty of room to tweak, finetune, and harden your site’s security settings.

This guide covers seven areas of WordPress security that you can count on Defender to monitor and address:

  1. Set Up Security Tweaks
  2. Activate One-Click Malware Scanning
  3. Track Changes with Audit Logging
  4. Ban Suspicious Behavior with Firewall
  5. Block Attacks with Web Application Firewall (WAF)
  6. Protect Your Logins with Two-factor Authentication
  7. Enhance Site Security with Advanced Tools

You will also find links to other great articles about Defender for more information on specific topics.

Let’s begin by showing you how to…

1. Set Up Security Tweaks

Once Defender is installed and activated, security issues are immediately brought to your attention.

This is where Security Tweaks can take care of most of them with one-click. Defender will show you how many issues you have, what they are, and how to fix them almost instantly.

Everything is displayed in an actionable list under Issues.

Defender security tweaks.
What greets you in Defender’s dashboard under Security Tweaks.

When you click on the dropdown for a specific issue, it gives you two options: Ignore or click the blue button to take care of the suggested security tweak with one-click.

Disable the file editor.
In this example, the suggestion is to disable the file editor.

If you choose to resolve the issue, it will then be in the Resolved area. If you ignore it, it will go in the Ignored section. If no action is taken, it will stay as an Issue.

If you resolve the issue and decide that you want to keep it the way it was, you can revert it at any time by clicking the Revert button.

Resolved issues.
The issue got resolved and it’s easy to revert with one click.

As you can see, any issues that come along will be brought to your attention and can be taken care of quickly and effortlessly.

Be sure to read detailed information about security tweaks and more in our article about stopping hackers in their tracks.

2. Activate One-Click Malware Scanning

The Malware Scanning section lets you scan for malware in one-click and set up Defender to scan all your files on a regular basis, check if there are any problems, and report back to you (and anyone else you specify).

Where you’ll click for a new scan.
Where you’ll click for a new scan.

Once activated, Defender scans your WordPress core files and alerts you if it finds anything suspicious.

Defender scanning your files.
Defender scanning your files.

Once the scan is complete, Defender then lists all the files it thinks could be suspicious under Issues.

Issues from the scan.
Issues from the scan.

If you click the dropdown of the suspicious file, it will give you precise information about the issue, including the issue details, error code, location, size, and date it was added.

From this point, you can ignore the issue or delete it with one-click.

The issue and the options to ignore or delete.
The issue and the options to ignore or delete.

If you have multiple issues, you can also take care of all issues in bulk by selecting Bulk Update or Ignore in the dropdown.

Bulk actions.
All issues can be taken care of at once in the bulk action dropdown.

Note of caution: It’s recommended that you are 100% certain that something is harmless before deleting and/or ignoring it. We have our export available 24/7 for live support if you’re unsure or need advice.

For additional scanning, Defender Pro will tackle these areas:

  • Plugins and Themes: All plugins and themes will be scanned for publicly-reported, known vulnerabilities.
  • Suspicious Code: This cranks-up the scanning potential by scanning all site files for suspicious PHP functions and code.
The additional scanning is added in Pro.
The additional scanning is added in Pro.

Along with the scanning aspect, you can adjust the settings to determine what kind of scans you want to do and to turn off a scan with Scan Types. If you have Defender Pro, you’ll get to determine all three scan types.

You can also include the maximum size of files to include. Any files larger than the specified size (in Mb), Defender will exclude from the scans.

scan types.
Scan types and also where you can adjust the maximum file size that you want Defender to skip during scans.

Plus, adjust the notifications so that you can get emails sent directly to you about issues when they’re detected.

The Enable Notifications settings area.
The Enable Notifications settings area.

It’s just a one-switch option to turn on. Also, easily customize the emails for when an issue is found and also when no issues are found.

Where you can adjust email settings.
Where you can adjust email settings.

Additionally, you can enable reporting with Defender Pro.

It allows you to send reports about issues at a specific time of your choosing. You can choose from daily, weekly, or monthly. You can also specify the day of the week and time of day you would like to receive reports.

Once reporting is enabled, Defender will then let you know if it finds suspicious activity and send you a report as you have scheduled. Defender also gives you the option of receiving notifications even when no issues are detected.

The reporting options.
The reporting options.

For more detailed information about Defender’s malware scanning, be sure to read our article about finding and deleting suspicious code with Defender.

3. Track Changes with Audit Logging

With Defender Pro, you can track and log every event that happens on your website with Audit Logging. You’ll get detailed reports on what exactly is going on behind the scenes (e.g. hacking attempts) so you can keep track of any security threats.

The Audit Logging dashboard that contains all the recent events.
The Audit Logging dashboard that contains all the recent events.

Defender can export all the events as a CSV and arrange the events by dates.

Each event summary has detailed information about it in its dropdown.

A detailed description of a logged report.
A detailed description of a logged report.

Adjust the settings to set up how long you’d like to keep the events stored in our API. You can also turn off this feature at any time.

Where to specify how long you’d like to keep events stored.
Where to specify how long you’d like to keep events stored.

This also includes scheduled reporting, where an email of a summary of all events on your WordPress site gets automatically emailed to you. You can add recipients, schedule the frequency, day of the week, and time of day for when they’re sent.

Where you’ll schedule reports.
Where you’ll schedule reports.

Audit logging is a great way to stay on top of all events happening on your site and keep it secure.

4. Ban Suspicious Behavior with Firewall

Defender’s powerful firewall can keep your WordPress safe with IP banning, location banning, automatically identifying bad acting IPs, and more. There’s a ton that it does (as you’ll see).

Defender’s firewall includes:

Defender automatically bans repeat offenders so it’s effortless on your part to keep them away. Beyond that, there are a lot of areas with Defender’s firewall you can activate for added security.

This is a brief overview of what’s included with Defender’s firewall so you can take advantage of using it:

Login Protection

Put a stop to hackers trying to randomly use your login credentials. It will lock out users with too many login attempts.

You can put a threshold on how many failed login attempts a person is allowed and the timeframe for lockout. Then, you can specify the duration of time for the lockout.

Where you’ll specify the threshold and duration of time for a lockout.
Where you’ll specify the threshold and duration of time for a lockout.

Also, create a customized message that will be sent to locked out users. In the same section, there’s an area to enter banned usernames.

An example of this is users shouldn’t be using admin, hostname, or administrator as their username. If someone tries to login with one of those names, it’s a clear indication that it’s a malicious attempt and is blocked by Defender when those usernames are listed in the Banned section.

Where you can create a customized message and also add banned usernames.
Where you can create a customized message and also add banned usernames.

To deactivate, you can do so with a click of a button.

It’s a great deterrent for hackers that will simply get tired of getting locked out of your site because of failed login attempts.

404 Detection

Defender keeps an eye out and reports IP addresses that repeatedly request pages on your website that don’t exist. From there, he’ll temporarily block them from your WordPress site.

This occurs usually from bots that crawl every link in your site trying to locate a back-end admin area so they can wreak havoc or requests from the same IP addresses for pages on your WordPress site that are non-existent.

If this happens too regularly, Defender will block users from accessing your site.

In the 404 Detection area, you can see how many lockouts were logged, adjust how long they’re locked out if banned, create a custom message, and more.

When activated, the top of the screen tells you the current lockouts that are logged. Below that, you can adjust the amount of 404 errors before it triggers a lockout. Beyond that, you change the duration of how long you’d like to ban a locked-out user. You can also opt for a permanent ban.

Where it displays the current lockouts, threshold, and duration of lockout time for users is located.
Where it displays the current lockouts, threshold, and duration of lockout time for users is located.

Next is a spot to create a customized message for locked out users.

Where you’ll create your customized message.
Where you’ll create your customized message.

Once created, offenders will be greeted by Defender with the message of your choice.

Defender’s message to mischiefs.
Defender’s message to mischiefs.

You can also choose specific files and folders you’d like to Allowlist or Blocklist.

Any files or folder URLs that you want to automatically ban, you can do so here. Likewise, you can include common files or folders that your website is missing, but you don’t want to Blocklist, by adding them to the Allowlist.

The Blocklist and Allowlist area for file and folder URLs.
The Blocklist and Allowlist area for file and folder URLs.

You can also Allowlist and Blocklist file types and extensions in this area.

There is also a switch to turn off monitoring 404s from logged-in users if you decide to do so.

IP Banning

Here you can add any IPs you’d like to permanently ban and also allow.

The Blocklist is for blocking IPs and the Allowlist allows them access all the time.

The IP Blocklist and Allowlist.
The IP Blocklist and Allowlist.

Here, it also displays the active lockouts. Also in this area, Defender can ban locations by countries in this section with the help of Maxmind.

Finally, Import and Export any Allowlist and Blocklist so you can add or export to another website with just a few clicks.

Logs

Defender logs all IP lockouts and has them available for you to view so you can stay on top of your security.

You can sort by date, add them to allowlist, and bulk update in one area.

The logs area in Defender.
The logs area in Defender.

Under each detail, you can click the dropdown to get a detailed look at the description, type of issue, IP address, date & time, and ban status. Plus, you can Allowlist or ban the individual IP in this section, too.

The dropdown with details.
The dropdown with details.

There’s an option to bulk update everything by clicking on individual issues or all of them at once. The updates include Ban, Allowlist, and Delete.

Where to bulk update IP lockout details.
Where to bulk update IP lockout details.

All activity is monitored and controlled so you can stay on top of suspicious activity on your WordPress site with ease.

Notifications

You can choose several email notifications for specific issues, who the email recipients are, and also choose when to stop receiving notifications after a certain number of lockouts.

Where to adjust your notifications.
Where to adjust your notifications.

The notifications you can enable are Login Protection Lockout and 404 Detection Lockout.

With Login Protection, you’ll get emails when an IP address is locked out for trying to access your login area. And with 404 Detection Lockout, you’ll get notified when an IP has repeated hits on non-existent files.

This gives you notifications so you can be aware of any issues happening immediately.

Settings

The Firewall has a settings area to adjust how long to store logs and also where to delete logs in one-click.

The Settings area.
The Settings area.

The capability to choose how many days of event logs to be stored can be changed at any time by specifying the days.

Reporting

Reporting is a feature available in Defender Pro. With this, you can get regular updates that you schedule however you’d like. You can also add any recipients you want to receive the reports and the frequency of reports.

The Reporting area.
The Reporting area.

This is a great way to get lockout reports for your WordPress site regularly.

Be sure to check out our step-by-step more detailed look at Defender’s Firewall in our article How to Create a Powerful and Secure Customized Firewall with Defender.

5. Block Attacks with WAF

Another feature is WAF (Web Application Firewall). This comes included with our hosting. When combined with Defender Pro, it’s the first layer of defense to block troublemakers and bot attacks way before they even reach your site.

It filters requests against our optimized managed ruleset covering frequent attacks (OWASP Top Ten) and performs virtual patching of WordPress plugin, core, and theme vulnerabilities.

This can be enabled directly from WPMU DEV’s The Hub.

Where you can enable WAF in the Hub.
Where you can enable WAF in the Hub.

In the Hub, you can also add IPs to the Allowlist and Blocklist. Also, there is a User Agent Allowlist, User Agent Blocklist, URL Allowlist, and an area to disable Rule IDs.

For more information on WAF and our hosting, be sure to read this article all about it.

6. Protect Your Logins with 2FA

2FA (Two-Factor Authentication) is a great added line of defense when it comes to protecting your site. You can enable it in Defender and adjust a ton of its capabilities.

Once activated, you can choose the user roles you want to enable two-factor authentication for. Those users with those roles will then have to use Google’s Authenticator app to log in.

User Roles can be set to two-factor authentication with one-click.
User Roles can be set to two-factor authentication with one-click.

Below this area, you can activate Lost Phone, so that if a user is unable to access their phone, they can be sent the password to their email instead.

Along with that, you can Force Authentication for all users. There’s also an option to add a Custom Graphic for the login field (Pro only).

Additional settings in the 2FA area.
Additional settings in the 2FA area.

You can customize the default settings for the Lost Phone email, get quick access to the app download for Google Authenticator for Android & Apple, and view your active 2FA users.

More 2FA options and settings.
More 2FA options and settings.

If you ever need to deactivate 2FA, you can do so with one-click.

This is a great necessity for security and also have more options for users to gain access when needed.

7. Enhance Site Security with Advanced Tools

Defender has plenty of options for more advanced protection.

One big security measure is the Mask Login Area.

Here you can create a customized URL for users and admin to login in. This helps prevent hackers and bots from finding your URL.

In this area, you can also redirect traffic to a specific URL to avoid 404s.

The Mask Login area.
The Mask Login area.

Also in the Advanced Tools area is a section called Security Headers.

This is where you can add extra security by enabling security headers of various types, including X-Frame Options, X-XSS-Protection, Strict Transport, and more.

Several examples of security headers you can enable and what they do.
Several examples of security headers you can enable and what they do.

When you enable them, they will display any additional security options if applicable.

An example of additional settings for X-Frame-Options.
An example of additional settings for X-Frame-Options.

Coming to Your Defense

As you can see, Defender comes to your defense and has your WordPress site security covered. Oftentimes it just takes one-click or just sitting back and letting Defender take care of things automatically.

If you ever have any questions about security settings, malicious code, or just need some advice, our amazing 24/7 support staff is always here for you.

Check out Defender’s documentation for more information. And to keep tabs of what’s next for Defender, be sure to check out our roadmap.

 

Remove or Improve – Is It Time to Get Rid of Your WordPress Admin Bar?

Fed up with your WordPress admin bar getting in your way when viewing your site? Need a simple plugin to help you tweak it a little, or if your mind’s set on it, remove it completely? Read on for a roundup of the best.

Your admin bar may be full of useful options, but it can easily get to a point where it’s more of a nuisance than a help. When you’ve made changes to your site, you might want to go straight to the frontend and admire your new masterpiece without the top 32px being taken up by your admin bar.

While plugins are the answers to most WordPress questions, you can check out this tutorial if you’d rather go down the code route to remove or customize your admin bar.

You can also remove your admin bar within the WordPress settings by going to Users > Toolbar.

Screenshot from wordpress of the remove toolbar button.
Untick the box to remove the toolbar from your frontend.

Just bear in mind that this will only remove the bar from your own account. If you want to have control over the access for all user accounts, you’re better off sticking with a plugin.

In this article, I’ll show you a bunch of great plugins that will let you reposition your admin bar, change the links, take away some of its opacity, or if you’ll never make friends, remove it completely.

 

Option 1 – Personalize Your Admin Bar

  • Branda

    We can’t talk about anything to do with WordPress admin and not include our very own Branda. When it comes to the admin toolbar, she certainly has a few tricks up her sleeve.

    You can hide the admin bar from different user roles, and even choose to display certain elements of it to guests. You also have the option to hide specific elements from the admin bar, as well as add new ones.

    Screenshot of Branda's custom menu item options.
    Branda always has to take it one step further…

    There are tons of icons for you to choose from, and you can even enter custom URLs. This means that you can pack your admin bar full of useful links to streamline and speed up your admin duties.

    Using Branda, you can also change your admin bar logo as well as add your own custom CSS to tailor it exactly to your needs.

  • AG Custom Admin

    Now this little plugin is pretty powerful – there isn’t much it can’t do to your WordPress admin.

    In regards to your admin bar, you can remove elements such as the logo (which you can change if you’d prefer), the pending updates notification, your site name and the +New block. You can really make your admin bar as minimalist as you’d like, and even go as far as hiding it completely. The ‘howdy’ text as well as the logo link can also be changed.

    Whilst most of the customization options are purely practical, you can also change the colors across your entire admin dashboard and bar, as well as add custom CSS and JS if you fancy a few extra tweaks.

  • Toolbar Extras

    Toolbar Extras is packed full of, ahem, extras, to help your WordPress admin bar make your life easier. If you’re one of the 5 million + people who still rely on Elementor to build beautiful websites, then this little plugin will give you super-quick access to a bunch of useful tools, right from your admin bar.

    Screenshot of the menu in toolbar extras.

    There are extra options for customization such as the ability to customize the labels and icons, as well as change the welcome message in the top-right corner.

    Screenshot of the custom greeting menu.
    You can personalize the message to include the user’s name or display name.

    If you’re not an Elementor user, you can link this plugin with the default block editor, although you’ll be presented with fewer options.

  • Admin Page Spider

    It isn’t often that you stumble across a plugin that feels so normal and that you can’t believe it’s not actually part of WordPress itself.

    Admin Page Spider falls into this category. Such a simple change to the admin bar allows you to quickly access posts and pages to edit with just one click.

    You can select it to display either pages, posts, or both.

    This is all you can really do with the free version (you can upgrade to Pro for a ton more features) but it adds such a good boost of practicality to your admin bar, that you’ll never look back.

    Interested in Admin Page Spider?

  • Admin Bar Position

    Ever thought that your frontend would look so much better with the admin bar at the bottom?

    Make your dreams a reality with this tidy little plugin. All you have to do is install and activate and your admin bar will move straight to its new home at the bottom of your screen – it’s that simple!

    Interested in Admin Bar Position?

Option 2 – Hide Your Admin Bar

  • Auto Hide Admin Bar

    Often the simple plugins are the best – the ones where you can just install, activate, and voila…extra WP functionality!

    Auto Hide Admin Bar is one of these plugins – all you have to do is activate it and your admin bar will be neatly tucked away when viewing the frontend of your website. Just hover at the top of your page and it will reappear like magic.

    Interested in Auto Hide Admin Bar?

  • Remove Admin Bar

    Sometimes, a simple tweak is all you need. This plugin does literally what it says on the tin; once you activate it, your admin toolbar will no longer ruin the masterpiece of your site when visiting as a logged-in user.

    There are a fair few plugins in the WP repo which do the same thing, so feel free to take your pick. I’m including Remove Admin Bar in this list because I’ve tested it myself and can confirm it works like a charm!

  • Admin Bar & Dashboard Access Control

    If you don’t want to completely scrap the admin toolbar from the frontend view, you can display it based on the user’s role.

    Whilst this is actually super simple to do with a couple of lines of code, we understand that some users choose not to make edits to code which is completely fine (and why plugins exist!).

    Install this plugin if you want to have more control over who sees the admin bar.

    Interested in Admin Bar & Dashboard Access Control?

  • Admin Bar Disabler

    If you’re set on hiding your admin bar but need a plugin for this which is compatible with multisite, look no further than Admin Bar Disabler.

    It offers per-site and per-network options, as well as allowing you to set permissions based on user roles.

    Interested in Admin Bar Disabler?

  • Better Admin Bar

    Better Admin Bar is a very practical plugin that helps you have control over exactly how much your admin bar interferes with the rest of your screen.

    If you want to remove the bar completely, you can do just that. If you’d prefer to lower the opacity of the bar, only show it to admins, or only show it on hover, just take your pick.

Remove or Improve?

So you’ve seen both options: customize your admin bar and turn it into something useful and practical, or wave goodbye to it – now the choice is yours.

If reading this has inspired you to go in for a complete WordPress admin overhaul, you should probably check out Branda’s other features. She’s the original whitelabeling goddess and will help you completely transform your admin area.

 

10 Top APIs for Rentals

These days consumers can rent just about anything. Homes, cars, vacation villas, offices, boats, RVs, furniture, art, solar panels, clothing, garages, sports equipment, garden spaces, party supplies, bikes, scooters, storage, wedding venues, rooms, cameras, smartphones, games and text books are all available to rent for a fee. And for good reason, renting things is generally a more affordable, and sustainable way to get use out of items and property.