Black Friday50% off every Pro template and membership with code50% off with Ends in 05days15hrs53min56secShop the sale →

Error for Site Owner: Invalid Domain for Site Key

Unfortunately, one day, you suddenly cannot log in to your WordPress dashboard due to the “Error for Site Owner Invalid Domain for Site Key” error. You are frustrated because you cannot find any solution to handle this trouble. Don’t worry,…

Error for Site Owner: Invalid Domain for Site Key

Unfortunately, one day, you suddenly cannot log in to your WordPress dashboard due to the “Error for Site Owner Invalid Domain for Site Key” error. You are frustrated because you cannot find any solution to handle this trouble. Don’t worry, in today’s blog, we bring you an easy method to help you resolve this problem without effort. First, you need to identify what causes it to appear on your site.

Why you get the error: “Error for Site Owner Invalid Domain for Site Key” on your website

This error commonly appears when you migrate or duplicate your website to a new domain but you forgot to change the Site Key and the Secret key in the Login NoCaptcha plugin on your new website or you did not add the new domain to your Google reCaptcha page. As a result, you cannot log in to the WordPress dashboard of your new domain and get the error “Error for Site Owner: Invalid Domain for Site Key”.

Error for Site Owner: Invalid Domain for Site Key

So, how can you address this error? Below, we will give you a detailed tutorial to help you implement and tackle your issue effectively.

How to fix “Error for Site Owner: Invalid Domain for Site Key” error

Now, you need to follow the steps below to address the problem.

Step 1: Go to your website’s cPanel and open File Manager to make changes

  • After going to the cPanel of your website, let’s open the File Manager and select the Public_html folder.
  • Then, click on the “wp_content” folder
  • Next, select the “plugins” folder > Login-recaptc folder
  • Select all files in the “Login-recaptc” folder and delete them
  • Go back to your WP login page and check if the error is gone.

If your website is working, the error is fixed. Now, you can log into your WordPress dashboard. However, the error is only gone because you have just removed the login noCaptcha plugin on your site.

This creates a new issue: your site still needs protection from hacking attempts and unwanted threats, so you should reinstall the login noCaptcha plugin and add your new domain to it.

Step 2: Reinstall the plugin and add your site to Google Recaptcha

Now, it’s time for you to log in to your WordPress dashboard to reinstall the Login no Captcha recaptcha plugin to keep your site secure because it was deleted in the first step.

To install the plugin, simply go to All plugins > Add new and then search for the plugin in the search bar. Next, click on the Install button and activate it.

Error for Site Owner: Invalid Domain for Site Key

Then, let’s navigate to Settings > Login Nocaptcha. On the plugin’s settings page, simply click on the “Click here” link to create the Site Key and Secret Key for Google Nocaptcha.

error for site owner invalid domain for site key 12 e1646878984955

From the Google Recaptcha page, you need to fill out the form including the label, your site’s domain, and the reCaptcha type.

error for site owner invalid domain for site key 10

Then, check the box next to “Accept the reCaptcha terms of service” and click on the Submit button.

error for site owner invalid domain for site key 11

After clicking on “Submit“, you will get the Site Key and Security Key for your new website. Let’s copy these keys and paste them into the settings page of the login noCaptcha plugin.

error for site owner invalid domain for site key 6 2

Once the Site Key and Secret Key are pasted in the given fields, don’t forget to click on the “Save Changes” button to save your settings.

error for site owner invalid domain for site key 9 2 e1646879035380

Now, you can visit your login page and see that your website is secured with the Google reCaptcha security protocols.

Final thoughts

After reading our blog, hopefully, you understand why the error appeared on your site and have found a useful solution to handle your problem effectively. If the error is not resolved after following all the steps above, don’t hesitate to leave a comment below, we will give you support.

Moreover, you can refer to a list of stunning, SEO-friendly free WordPress Themes on our website.

Build it with a template

Start from a finished design: Joomla templates, WordPress themes or the AI-ready block themes. Every template has a free version and a live demo.

Free download

We'll send the link, setup tips and update notices, and you can reach us anytime through our AI assistant and contact form.

The download starts at once. We email you the link and ask you to confirm your address. Privacy policy.