Protect a WordPress site

Updated October 7, 2026 · 2 min read

Turn on a firewall, block bad bots, harden WordPress and protect the sign-in page from a WordPress site’s Security tab.

On this page
  1. Step 1: Open the Protection card
  2. Step 2: Choose the firewall rules
  3. Step 3: Turn on the protections you need
  4. Step 4: Save and apply
  5. More on this tab

Before you start

  • A WordPress site in Nuvlo.
  • Permission to manage sites.

Step 1 Open the Protection card

Open the site and click Security. The Protection card is at the top.

The Protection card.

Step 2 Choose the firewall rules

ChoiceWhat it does
8G (Recommended)Newest rules. Blocks SQL injection, script injection, path traversal and scanners.
7GThe earlier rule set with fewer checks. Use it if 8G blocks something your site needs.
OffNo firewall rules. Requests go straight to WordPress.

Step 3 Turn on the protections you need

SwitchWhat it does
Block bad botsTurns away SEO scrapers and hacking tools.
Block spam referrersTurns away visits sent from known spam sites.
Security headersTells browsers to use HTTPS only and not to load the site inside other sites.
Turn off XML-RPCCloses a common target for password guessing. The Jetpack plugin and the old WordPress app need it.
Restrict the REST APIOnly signed-in users can use it. Can break plugins that load content for visitors through it. On a headless site, leave it off unless your frontend signs its requests: the frontend loads its content through the REST API.
Block PHP in uploadsUploaded files can’t run as code.
Limit sign-in attemptsLocks out an IP address for 15 minutes after 5 wrong passwords.
Move the sign-in pageReplaces /wp-admin and /wp-login.php with an address only you know. Enter it in New sign-in address.
Password-protect the siteEveryone needs a username and password before the site loads, for example while you build it. Enter Username and Password.

Step 4 Save and apply

Click Save and apply. The button shows Saved once nothing is left to save.

If the server couldn’t be reached, the card shows what a new site starts with. Saving applies those settings.

More on this tab

Malware scan checks WordPress core files against the official release and looks for malware. See Scan a site for malware.

AI bots on this site shows requests from AI crawlers and assistants, and lets you set what each group of AI bots may do.