HOW TO FIX THE ERROR “ERROR FOR SITE OWNER: INVALID DOMAIN FOR SITE KEY” ON WORDPRESS LOGIN PAGE – 2024
Last Updated on January 9, 2024 by Anjum
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 there. You need to remove the “error for site owner: invalid domain for site key” 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
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
Popular Read: Beginner’s Guide on Why and How to Shop from Amazon
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.
- Click on wp_content.
- Select Plugins.
- Select login-recaptc
- Check all the Files in that Folder
- Delete the Files in the login-recaptc 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.
The error is now fixed because you have deleted the login noCaptcha plugin 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
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 in the post to solve error for site owner: invalid domain for site key 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 and you get rid of error for site owner: invalid domain for site key.
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. Follow the procedure mentioned in the article to solve the error for site owner: invalid key type once and for all.
Tags: error for site owner: invalid domain for site privacy – terms
invalid domain for site key recaptcha privacy – terms
error for site owner: invalid domain for site key recaptcha
invalid domain for site key recaptcha
error for site owner: invalid key type
invalid domain for site key
Read Other Popular Posts on Infinity Folder
8 Comments
anonyme · December 18, 2021 at 2:52 pm
Thanks
Demian · December 9, 2021 at 3:16 pm
Thank you very much for sharing this post, it was of great help.
Anjum · December 10, 2021 at 6:08 am
You are welcome
Danny · August 4, 2021 at 6:09 pm
I have the exact same problem, but there is no login-recaptc in the wp-content/plugins directory. Do you have any advice on where else to check for this plugin?
Anjum · August 4, 2021 at 7:02 pm
There is a search bar at the top right of your File Manager screen. Search for login-recaptc in all the Files. Probably that will help.
David · July 15, 2021 at 8:05 pm
Thank you, this helped me solve my issue.
Kayleigh · February 17, 2021 at 1:53 pm
Hello,
This was really helpful, however when I go to update the site keys, I get this message ‘sorry you are not allowed to access this page wordpress’, so I then am back to square one. Any ideas how to ensure I am recognised as admin?
Many thanks,
Kayleigh
Anjum · February 18, 2021 at 7:26 am
Hi Kayleigh,
You can try deleting the plugin and reinstalling it. It might resolve your issue.
Regards,
Faraz