Support / Royal Security / Forgot Login URL

Forgot Your Custom Login URL?

If you enabled the "Hide Login" feature and can't remember your custom login URL, don't worry. Here's how to find it or reset it.

What Happened?

Royal Security's "Hide Login" feature replaces the default /wp-admin and /wp-login.php URLs with a custom URL you chose (like /my-secret-login). If you forgot what you set it to, the standard WordPress login URLs will return a 404 error.

Royal Security Pro Custom Login URL Setting
Good News

Your custom login URL is stored in the database, so we can easily find it or reset it.

Recovery Methods

Method 1: Check Your Email Try First

When you enabled the custom login URL, Royal Security may have sent you a notification email with the new URL. Search your email for:

  • "Royal Security" + "login URL"
  • "Custom login" + your domain name
  • Check your spam/junk folder

Method 2: Find URL in Database Recommended

Look up your custom login URL in the WordPress options table.

Open phpMyAdmin

Log into your hosting control panel and open phpMyAdmin.

Select your WordPress database

Click on your WordPress database in the left sidebar.

Run this SQL query

Click the "SQL" tab and run:

-- For Royal Security Pro: SELECT option_value FROM wp_options WHERE option_name = 'rs_custom_login_url'; -- For Royal Security Lite: SELECT option_value FROM wp_options WHERE option_name = 'rsl_custom_login_url';

Use your custom URL

The result shows your custom login slug. Access it at: https://yoursite.com/[result]

Method 3: Disable Custom Login URL Reset Feature

If you want to go back to the default WordPress login URLs:

Open phpMyAdmin

Access your database through your hosting panel.

Delete the custom URL option

Run this SQL command:

-- For Royal Security Pro: DELETE FROM wp_options WHERE option_name = 'rs_custom_login_url'; -- For Royal Security Lite: DELETE FROM wp_options WHERE option_name = 'rsl_custom_login_url';

Access standard login

You can now access /wp-admin or /wp-login.php as normal.

Remember to Re-enable

After logging in, go to Royal Security settings and set a new custom login URL that you'll remember. Write it down this time!

Method 4: FTP Recovery No Database Access

If you can't access phpMyAdmin, temporarily disable the plugin:

Connect via FTP/SFTP

Use FileZilla or your hosting's file manager.

Navigate to plugins

Go to /wp-content/plugins/

Rename the plugin folder

Rename royal-security to royal-security-disabled (or royal-security-lite for Lite version)

Login at /wp-admin

With the plugin disabled, standard login URLs work again.

Rename folder back & reconfigure

Rename the folder back, reactivate the plugin, and set a memorable custom URL.

Prevent This in the Future