Support / Royal Security / Locked Out Recovery

Locked Out? How to Recover Access

If you've been blocked by Royal Security's firewall or brute force protection, don't panic. This guide will help you regain access to your WordPress site using database or FTP methods.

Important: Deleting the plugin won't fix the block!

If you delete and reinstall Royal Security, you'll still be blocked because the block data is stored in the database, not the plugin files. You must clear the database tables to unblock yourself.

Why Am I Locked Out?

Royal Security may block your IP address for several reasons:

Error Code Displayed?

If you see an 8-character error code (like ccda873d), this is generated by the firewall to help identify the block reason. The block is stored in the traffic log table.

Recovery Methods

Choose a recovery method based on your access level and comfort with technical tasks:

Database Table Reference (Pro)
Traffic/Rate Limit Blocks {prefix}_rs_traffic_log
IP Blocklist {prefix}_rs_ip_blocklist
Failed Logins {prefix}_rs_failed_logins

Replace {prefix} with your WordPress table prefix (usually wp_, but check your wp-config.php)

Method 1: phpMyAdmin (Database) Recommended

Clear the traffic log table to remove rate-limiting blocks. This is the most common fix.

Access phpMyAdmin

Log into your hosting control panel (cPanel, Plesk, etc.) and open phpMyAdmin.

Find your database

Select your WordPress database from the left sidebar. Check wp-config.php if unsure which database.

Find your table prefix

Look at your table names - they'll start with a prefix like wp_ or a custom prefix like abc_.

Run the SQL command

Click the "SQL" tab at the top and run this command (replace the prefix with yours):

-- Clear rate limiting blocks (most common fix) TRUNCATE TABLE `wp_rs_traffic_log`; -- If still blocked, also clear the IP blocklist TRUNCATE TABLE `wp_rs_ip_blocklist`; -- And clear failed login records TRUNCATE TABLE `wp_rs_failed_logins`;

Try accessing your site

Return to your WordPress site and try logging in again. The block should be cleared.

Method 2: Whitelist Your IP Prevent Future Blocks

After recovering access, add your IP to the whitelist to prevent future lockouts.

Find your IP address

Visit whatismyipaddress.com to get your current IP.

Add to Royal Security whitelist

Go to Royal Security → IP Management and add your IP to the whitelist.

Pro Tip

If you have a dynamic IP, consider whitelisting your IP range (e.g., 192.168.1.*) or ask your ISP for a static IP.

Royal Security Pro IP Management

Method 3: FTP Recovery Emergency Only

If you can't access phpMyAdmin, temporarily disable the plugin via FTP.

Connect via FTP/SFTP

Use an FTP client (FileZilla, Cyberduck) to connect to your server.

Navigate to plugins folder

Go to /wp-content/plugins/

Rename the plugin folder

Rename royal-security to royal-security-disabled

Log into WordPress

You should now be able to access your site and log in.

Clear tables then reactivate

Important: Before renaming the folder back, use phpMyAdmin to TRUNCATE the traffic log table. Otherwise you'll be blocked again when the plugin reactivates.

Don't Skip Table Cleanup!

If you just rename the folder back without clearing the database tables, you'll be blocked again immediately. The block data persists in the database.

Database Table Reference (Lite)
Lockouts {prefix}_rsl_lockouts
Audit Log {prefix}_rsl_audit_log

Replace {prefix} with your WordPress table prefix (usually wp_)

Method 1: phpMyAdmin (Database) Recommended

Clear the lockouts table to remove brute force protection blocks.

Access phpMyAdmin

Log into your hosting control panel (cPanel, Plesk, etc.) and open phpMyAdmin.

Find your database

Select your WordPress database from the left sidebar.

Run the SQL command

Click the "SQL" tab and run this command:

-- Clear lockout records TRUNCATE TABLE `wp_rsl_lockouts`;

Try accessing your site

Return to your WordPress site and try logging in again.

Method 2: Wait for Lockout to Expire Simple

Royal Security Lite lockouts are temporary (default: 15 minutes). You can simply wait for the lockout period to expire.

Default Lockout Duration

By default, lockouts last 15 minutes after 5 failed login attempts. If you've been locked out multiple times, this may increase.

Method 3: FTP Recovery Emergency Only

Temporarily disable the plugin via FTP.

Connect via FTP/SFTP

Use an FTP client to connect to your server.

Navigate to plugins folder

Go to /wp-content/plugins/

Rename the plugin folder

Rename royal-security-lite to royal-security-lite-disabled

Log into WordPress

Access your site and log in.

Clear the lockouts table

Use phpMyAdmin to TRUNCATE wp_rsl_lockouts before renaming the folder back.

Prevent Future Lockouts

Follow these best practices to avoid locking yourself out again:

Bookmark This Page

Save this page to your bookmarks so you can access it even when blocked from your WordPress admin.

Still Need Help?

If you're still having trouble accessing your site after following these steps:

For Royal Security Pro customers, contact our support team for priority assistance.