HOW TO FIX THE ERROR “ERROR FOR SITE OWNER: INVALID DOMAIN FOR SITE KEY” ON WORDPRESS LOGIN PAGE


Getting Errors and finding their solutions is a regular thing for every Website Owner”


You should not be surprised if you are facing errors as it is part of operating a website. Some Errors are easier to fix and won’t take much time and effort but there are others that are hard to resolve and you will need a lot of research and hard work to overcome them and fix them.

One such error that bugs a few Site Owners is the “Error for Site Owner: Invalid Domain for Site Key”. This error is first seen when you are trying to login to your WordPress Dashboard.

No matter what you do you will not be able to login from that page as long as the error is still there. You need to remove the error first in order to get back your site’s Dashboard. In order to fix the error you need to understand why this error occurred in the first place

ERROR FOR SITE OWNER: INVALID DOMAIN FOR SITE KEY


Error for site owner invalid domain for site key
Error for Site Owner: Invalid Domain for Site Key

The error basically is an error in the Login NoCaptcha Plugin. This error occurs when the reCAPTCHA Site Key and Secret Key don’t match with the ones provided to you on your Google reCAPTCHA account page. The reason could be anything.

For me the reason was that I cloned and duplicated my website and transferred it to a new domain but I didn’t change the Site Key and the Secret Key on my Login NoCaptcha plugin on my new website nor did I add the new domain to my Google reCaptcha page. Hence when I tried to login to the dashboard of my new domain, I got the error “Error for Site Owner: Invalid Domain for Site Key”.

No matter what I did, I just couldn’t get to the Dashboard of my website. I knew that I needed to make some changes from the outside to get back control of my site. Here’s how to fix the error “Error for Site Owner: Invalid Domain for Site Key”.


Also Read: How to watch Videos not available in your Country from anywhere


HOW TO FIX THE ERROR “ERROR FOR SITE OWNER: INVALID DOMAIN FOR SITE KEY” ON WORDPRESS LOGIN PAGE

Fixing this error is not very tricky if you have control of your website’s cPanel and File Manager. Follow these steps to fix the problem once and for all:

1- GO TO CPANEL OF YOUR WEBSITE AND OPEN FILE MANAGER TO MAKE CHANGES

  • Start by going to the cPanel of your Website.
  • Once you are on your cPanel account, open the File Manager of your Website.
  • Select the Public_html folder.

Go to File Manager and Select your Website Public_html folder - Error for Site Owner Invalid Domain for Site Key
Go to File Manager of your website and Select Public_html folder to view its contents

  • Click on wp_content.

Click on wp-content
Click on wp-content to see the contents of the folder

  • Select Plugins.

Click on Plugins - Error for Site Owner Invalid Domain for Site Key
After Selecting wp-content click on Plugins

  • Select login-recaptc

Select login-recaptc Folder
Select login-recaptc Folder

  • Check all the Files in that Folder

Folder Contents - Login-recaptc
Folder Contents of Login-recaptc Folder

  • Delete the Files in the login-recaptc Folder

Delete the Files in the Folder - Error for Site Owner Invalid Domain for Site Key
Select all and Delete the Files in the Folder

  • Go back to the WordPress Login Page now and check that the error is fixed for now and you can login to your Website’s Dashboard.

No Captcha required now - Note that No Error for Site Owner Invalid Domain for Site Key
Go to your WordPress Login screen. No Captcha required now to Login to your Dashboard

The error is now fixed because you have deleted the login noCaptcha plufin but it has now created a new problem as now your website doesn’t have the security to keep the hacking attempts at bay. Your website is vulnerable to security threats if you don’t have the login noCaptcha installed.

In order to make your website secure again, follow the step 2.


Popular Read: Beginner’s Guide on Why and How to Shop from AliExpress


2- ADD SITE TO GOOGLE RECAPTCHA AND RE-INSTALL THE PLUGIN

After going through the above steps to fix the error “Error for Site Owner: Invalid Domain for Site Key”. You need to make your website secure again. Here’s how you can do that:

  • Once you have fixed the error, the first time you will login to your WordPress Dashboard you will get the notification that because there are no files in the login noCaptcha plugin hence it has been deleted. You need to re-install the plugin again. Go to Plugins in your Dashboard and Click on Add New.

Go to Settings and then Login NoCaptcha
Go to Settings and then Login NoCaptcha

  • Search for “Login No Captcha reCAPTCHA”.
  • Select the one as shown in the picture and click on Install Now. After it is installed click on Activate to activate the plugin.

Install the Plugin
Install the Login No Captcha reCAPTCHA Plugin

  • Now go to Settings on your Dashboard and then Login noCaptcha.
  • Click on the Link to Create the Site Key and Security Key for this website. Alternatively you can click here to get to the Google reCaptcha website.

Click on the Link to create Security Keys
Click on the Link to create Security Keys

  • Once on the Google reCaptcha Website, click on Admin Console if you are not already logged in. You will need to login from your google account to proceed further.
  • For me one of my website was already using the Google reCaptcha so I just had to add another site. For new users the procedure is almost the same. Click on the + sign to register a new website and Fill out the Form.

Google Recaptcha Add Site Screen
Select the Version and add your Site’s Domain and click submit on Google Recaptcha Add Site Screen

  • You can choose the recaptcha v2 or v3, its up to you. Add the domain and click Submit.
  • On the next screen, you will see the Site Key and Security key for your new website. Copy the Keys one by one and paste them into your website’s plugin settings of login noCaptcha.

Copy the Keys
Copy the Keys one by one

Copy the keys and paste them here and hit save
Paste the Keys here and hit save
  • After clicking Save Changes, If everything is correct, you will see that the Example at the bottom of the page will change and will be as it should be.

Example will change into this
Example will change into this

That’s it! The error “Error for Site Owner: Invalid Domain for Site Key” is fixed and your website is secured with the Google reCaptcha security protocols.


Final Login - No Error for Site Owner Invalid Domain for Site Key
Final Login

Also Read: How to Submit a Website to Baidu Webmaster Tools

Related: How to Create a Baidu Account from Outside China without Chinese Phone Number


CONCLUSION

As mentioned in the error itself that the site key entered in the plugin is invalid for the domain that it is associated with. The problem that I faced and many people faced is that at the sight of an error we tend to panic and once I found out that I couldn’t login to my website’s dashboard the tension peaked.

The first thing one should do when faced with any error is not to panic but do some research and try to understand why that particular error is showing up. After understanding the cause of the error then look for its solution and hopefully every error will be fixed with little effort and in no time.

Same happened here with me and once I got to understand why the error was coming, I was able to figure out the solution and apply it to resolve the error once and for all.

Let us know in comments if the solution has worked for you.


DISCLAIMER: The procedure mentioned here is what worked for me. It might or might not work for you. I have tried to simplify it with step by step instructions with screenshots so that everyone on the same boat can benefit from it. I sincerely hope it works for you.


*Affiliate Links Disclaimer

Follow us on Instagram and Twitter.

Share the Article on Social Media for your friends to benefit:

Happy Reading!

This post was on How to Fix “Error for Site Owner: Invalid Domain for Site Key” on WordPress Login Page.


Read Other Popular Posts on Infinity Folder



0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *