How to add your localhost website to google recaptcha domain list. My domain name is localhost:8888/folder/index.php
When adding the above domain name you get "URL starts with an invalid scheme" error.
To add the localhost to reCAPTCHA domain list you have to be careful in following steps:
You need to get at least a free DNS and point it to your localhost. Google does not allow non domain names to be used.
What you can attempt to do is create an api key for another valid name and see if it works. They have been tightening down on api keys and I have seen a lot of keys no longer work that were used across more than one ip/domain.
All sub directories are not valid. Once you have a domain name pointing to the subdirectory then by default it will work across all sub directories of that domain name. Same applies to SSL.
I'm getting an error "Localhost is not in the list of supported domains". This was working before, what should I do?
localhost domains are no longer supported by default. If you wish to continue supporting them for development you can add them to the list of supported domains for your site key. Go to the admin console to update your list of supported domains. We advise to use a separate key for development and production and to not allow localhost on your production site key.
1: Create a separate key for your development environment
2: Add 127.0.0.1 to the list of allowed domains
3: Save changes and allow up to 30 mins for changes to take affect
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