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”.

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.

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.

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

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

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.

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.

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.



