I'm currently using a fake development domain instead of localhost on my local machine, as I have multiple websites that I want to manage locally.
Google reCAPTCHA is not recognising my domains, and is giving me this error: ERROR: Invalid domain for site key
What can I do to solve this?
You need to add the fake domain as an entry in your reCAPTCHA whitelist. This can be found in the reCAPTCHA admin panel for the current reCAPTCHA you are using.
For example, if your fake development domain is mysite.myfakedomain you would add mysite.myfakedomain to the whitelist.
Note: The changes may take a few minutes to take place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With