Error for site owner invalid domain for site key как исправить

reCAPTCHA ERROR: Неверный домен для ключа сайта Я реализовал свою reCAPTCHA в соответствии с тем, что показано в примере. У меня есть этот сценарий в теге

reCAPTCHA ERROR: Неверный домен для ключа сайта

Я реализовал свою reCAPTCHA в соответствии с тем, что показано в примере.

У меня есть этот сценарий в теге head :

В моем form в HTML у меня есть:

Но когда я загружаю form , я получаю такую ​​ошибку:

ОШИБКА: неверный домен для ключа сайта

Я подтвердил, что это правильный ключ сайта для моего домена.

Код в настоящее время находится в поддомене, поэтому я подумал, что, возможно, это проблема, поэтому я также добавил поддомен в администратор Google reCAPTCHA, но все равно получаю сообщение об ошибке.

Тот же самый код на 100% работает в другом домене (с ключом, специфичным для этого домена).
В чем может быть проблема?

17 ответов

На случай, если у кого-то есть подобная проблема. Мое решение состояло в том, чтобы удалить ключ, который не работал, и получить новый ключ для моего домена. И это теперь работает со всеми моими поддоменами, без необходимости явно указывать их в области администрирования recaptcha.

У меня была аналогичная проблема из-за того, что я забыл показать параметр рендеринга

Моя область была довольно сложной. Я взял значение, возвращаемое window.location.host в консоли разработчика, и вставил это значение в белый список администратора recaptcha. Затем я очистил кеш и перезагрузил страницу.

У меня были такие же проблемы. Я решил это: зашел на https://www.google.com/recaptcha/admin , щелкнул домен, а затем перешел к ключевым настройкам внизу.

Там я отключил опцию ниже «Проверка имени домена» Проверить происхождение решения reCAPTCHA.

Нажал сохранить и капча заработала.

Я пробовал это почти 4 часа и, наконец, разобравшись с этим под руководством отсюда, я подумал, что поделюсь с вами своим решением.

Итак, мой домен — это дополнительный домен. Я также получил сообщение «ОШИБКА для владельца сайта: недействительный домен для ключа сайта». Я проверил, что все было правильно, почти тысячу раз, и мне это показалось правильным, пока я не подумал об этом с точки зрения ярлыка на рабочем столе.

Решение:

Поэтому для дополнительного домена убедитесь, что родительский URL-адрес также находится в списке доменов, например: [ДОБАВИТЬ ДОМЕН]. [РОДИТЕЛЬСКИЙ ДОМЕН] .com. Местоположение надстройки будет папкой, которую вы установили на своем хосте, поэтому при использовании дополнительных доменов убедитесь, что корень имеет логичное имя.

Надеюсь, это поможет кому-то другому, и спасибо за предложения людям.

Что касается меня, я просто забыл ввести фактическое доменное имя в области «Основные настройки», где написано «Домены» (по одному в каждой строке).

Попробуйте добавить домены без http:// и https:// , например example.com

Я также столкнулся с этой проблемой, и моим решением было проверить, что я интегрирую соответствующий клиентский код для выбранной мной версии.

В моем случае я выбрал reCAPTCHA v3, но использовал код интеграции клиента для v2.

V3 выглядит так:

Код V2 выглядит так:

Что касается того, какая у вас версия, это будет то, что вы решили в начале настройки учетной записи reCAPTCHA.

Убедитесь, что вы указали свое доменное имя, и оно не должно заканчиваться путем.

Перед повторным созданием ключей, которые решают проблему на 90%, необходимо отметить еще один момент.

Например, ваш каталог xampp — C: xampp

А папка htdocs — это C: xampp htdocs

Мы хотим открыть страницу с именем: example-cap.html, и на странице отображается ошибка «недопустимый домен для ключа сайта»

ИСПОЛЬЗУЙТЕ СВОЙ ЛОКАЛЬНЫЙ АДРЕС в адресе браузера, например:

Это решит вашу проблему

НЕ ИСПОЛЬЗУЙТЕ АДРЕС c: xampp htdocs example-cap.html, это приведет к ошибке

Возможно, вы случайно использовали закрытый ключ в качестве открытого ключа.

Я использовал localhost во время модульного тестирования, когда мой ключ recaptcha был зарегистрирован на 127.0.0.1. Поэтому я изменил свой браузер на 127.0.0.1, и он начал работать. Хотя мне удалось добавить «localhost» в список доменов в моих настройках ключа ReCaptcha, я все еще не могу выполнить модульное тестирование с использованием localhost. Мне нужно использовать IP-адрес обратной петли 127.0.0.1.

Думаю, самый быстрый способ — просто отключить проверку домена, пока вы его разрабатываете.

У меня были те же проблемы, что и я решил. Я зашел на страницу https://www.google.com/recaptcha/admin и щелкнул домен, а затем перешел к ключевым настройкам внизу.

Там я отключил опцию ниже Проверка доменного имени Проверьте источник решения reCAPTCHA

Нажал на сохранение и капча заработала.

Я думаю, это связано со способом настройки сервера. Я использую общий хостинг, и меня просто без уведомления перевели с Liquidweb на Deluxehosting (так как первый продал свой общий хостинг второму), и у меня возникли такие проблемы со многими проблемами. Я думаю, что в этом случае Google проверяет сервер, но он идентифицируется как имя общего сервера, а не как мой домен. Когда я снимаю флажок «Проверить происхождение», он начинает работать. Надеюсь, это поможет решить проблему на данный момент.

Не нужно создавать новый ключ, просто очистите данные сайта в браузере

Если вы измените домен своего сайта, добавьте этот домен к существующему ключу (создавать новый ключ не обязательно) и сохраните его.

Но у Google recapture есть некоторые данные о браузере. Очистите их, тогда он будет работать с вашим новым доменом

Прежде всего, управление ключами осуществляется на странице https://www.google.com/recaptcha/admin#. список

Я столкнулся с этой ошибкой, потому что я использую один и тот же ключ в нескольких разных доменах, и я забыл добавить один из доменов к ключу.

После добавления моего сайта потребовалась минута или две (скорее всего, из-за кеша), чтобы все снова заработало нормально.

Вы должны установить свой домен, например: www.abi.wapka.mobi , то есть если вы используете сайт wapka.

Обратите внимание, что если у вас есть домен с wapka, он не будет работать, поэтому сравните wapka с вашим провайдером сайта и отправьте текстовое сообщение.

Joomla 3.8.1 и CAPTCHA — reCAPTCHA v2 — Joomla 3.x: Установка, обновление и настройка

Бесплатный плагин вставки модулей Joomla в JoomShopping. Нередко, при разработке интернет-магазина на Joomla JoomShopping бывает нужно вывести информацию из модулей Joomla в карточке товара или в категории. Обычно это делается программным методом прямо в шаблоне магазина.

Вышел релиз Joomla 4.1.4

Доступна к загрузке Joomla 4.1.4. Это релиз с исправлениями ошибок и улучшениями для серий Joomla 4.0.x.

Сбор средств для помощи нашему камраду voland’у

Сообщество Joomla!, объявляется сбор средств для помощи нашему камраду Болотову Сергею, на форуме — voland, создатель бота Ванга, повелитель минусов на форуме )).

reCAPTCHA ERROR: Invalid domain for site key

I have implemented my reCAPTCHA in line with as is shown in the example.

I have this script in the head tag:

In my form in HTML I have:

But when I load the form I get this error:

ERROR: Invalid domain for site key

I have confirmed that this is the correct site key for my domain.

The code is currently in a subdomain so I thought maybe that was the problem so I also added the subdomain to the Google reCAPTCHA admin but still get the error.

The exact same code works 100% in a different domain (with a key specific to that domain).
What could be the problem?

user avatar

17 Answers 17

In case someone has a similar issue. My resolution was to delete the key that was not working and got a new key for my domain. And this now works with all my sub-domains as well without having to explicitly specify them in the recaptcha admin area.

I ran into this error because I’m using the same key on a few different domains and I had forgotten to add one of the domains to the key.

After adding my site it took a minute or two (most likely because of cache) for things to work normally again.

user avatar

I had the same problems I solved it. I went to https://www.google.com/recaptcha/admin and clicked on the domain and then went to key settings at the bottom.

There I disabled the the option below Domain Name Validation Verify the origin of reCAPTCHA solution

clicked on save and captcha started working.

I think this has to do with way the server is setup. I am on a shared hosting and just was transferred without notice from Liquidweb to Deluxehosting(as the former sold their share hosting to the latter) and have been having such problems with many issues. I think in this case google is checking the server but it is identifying as shared server name and not my domain. When i uncheck the «verify origin» it starts working. Hope this helps solve the problem for the time being.

I have implemented my reCAPTCHA in line with as is shown in the example.

I have this script in the head tag:

<script src="https://www.google.com/recaptcha/api.js"></script>

In my form in HTML I have:

<div class="g-recaptcha" data-sitekey="my public sitekey here"></div>

But when I load the form I get this error:

ERROR: Invalid domain for site key

I have confirmed that this is the correct site key for my domain.

The code is currently in a subdomain so I thought maybe that was the problem so I also added the subdomain to the Google reCAPTCHA admin but still get the error.

The exact same code works 100% in a different domain (with a key specific to that domain).
What could be the problem?

brasofilo's user avatar

brasofilo

25.2k15 gold badges90 silver badges178 bronze badges

asked Jun 9, 2015 at 14:56

BlessedHIT's user avatar

1

In case someone has a similar issue. My resolution was to delete the key that was not working and got a new key for my domain. And this now works with all my sub-domains as well without having to explicitly specify them in the recaptcha admin area.

answered Jun 9, 2015 at 17:45

BlessedHIT's user avatar

BlessedHITBlessedHIT

1,8091 gold badge14 silver badges21 bronze badges

4

First of all, the keys are managed at https://www.google.com/recaptcha/admin#list

I ran into this error because I’m using the same key on a few different domains and I had forgotten to add one of the domains to the key.

After adding my site it took a minute or two (most likely because of cache) for things to work normally again.

answered Aug 4, 2016 at 14:32

the's user avatar

thethe

20.5k11 gold badges67 silver badges101 bronze badges

I had the same problems I solved it.
I went to https://www.google.com/recaptcha/admin and clicked on the domain and then went to key settings at the bottom.

There I disabled the the option below
Domain Name Validation
Verify the origin of reCAPTCHA solution

clicked on save and captcha started working.

I think this has to do with way the server is setup. I am on a shared hosting and just was transferred without notice from Liquidweb to Deluxehosting(as the former sold their share hosting to the latter) and have been having such problems with many issues.
I think in this case google is checking the server but it is identifying as shared server name and not my domain.
When i uncheck the «verify origin» it starts working.
Hope this helps solve the problem for the time being.

answered Oct 27, 2016 at 12:00

rawraj's user avatar

rawrajrawraj

4214 silver badges8 bronze badges

1

No need to create a new key just clear site data on browser

If you change your site domain then add that domain to existing key (it’s not necessary to a create new one) and save it.

https://www.google.com/recaptcha/admin#list

but google recapture has some data on browser. Clear them then it will work with your new domain
enter image description here

answered Oct 1, 2016 at 1:51

Alupotha's user avatar

AlupothaAlupotha

9,5304 gold badges46 silver badges48 bronze badges

0

I guess the quickest way is just to disable the domain check while you’re developing it
enter image description here

answered Mar 27, 2018 at 16:33

hugronaphor's user avatar

hugronaphorhugronaphor

9088 silver badges23 bronze badges

0

I was using localhost during unit testing when my recaptcha key was registered to 127.0.0.1. So I changed my browser to point to 127.0.0.1 and it started working. Although I was able to add «localhost» to the list of domains in my ReCaptcha Key Settings, I am still unable to unit test using localhost. I have to use the loopback IP address 127.0.0.1.

answered Oct 30, 2015 at 19:02

ttemple's user avatar

ttemplettemple

1,6511 gold badge16 silver badges12 bronze badges

You may have inadvertently used a private key for a public key.

answered May 2, 2016 at 3:47

sanmai's user avatar

sanmaisanmai

27.9k12 gold badges62 silver badges74 bronze badges

1

There is another point must be noted before regenerating keys that resolve 90% issue.

for example your xampp directory is C:xampp
and htdocs folder is C:xampphtdocs

we want to open page called: example-cap.html
and page is showing error:

invalid domain for site key

Use your localhost address in browser address like:

localhost/example-cap.html

this will resolve your issue

Do not use address c:xampphtdocsexample-cap.html
this will generate error

shA.t's user avatar

shA.t

16.4k5 gold badges53 silver badges111 bronze badges

answered Apr 5, 2016 at 15:51

DharmendraSankhla's user avatar

I ran into this issue also and my solution was to verify I was integrating the appropriate client code for the version I had selected.

In my case, I had selected reCAPTCHA v3 but was taking client integration code for v2.

V3 looks like this:

<script src="https://www.google.com/recaptcha/api.js?render=reCAPTCHA_site_key"></script>
<script>
  grecaptcha.ready(function() {
      grecaptcha.execute('reCAPTCHA_site_key', {action: 'homepage'}).then(function(token) {
         ...
      });
  });
</script>

V2 code looks like this:

<html>
  <head>
    <title>reCAPTCHA demo: Simple page</title>
     <script src="https://www.google.com/recaptcha/api.js" async defer></script>
  </head>
  <body>
    <form action="?" method="POST">
      <div class="g-recaptcha" data-sitekey="your_site_key"></div>
      <br/>
      <input type="submit" value="Submit">
    </form>
  </body>
</html>

As for which version you have, this will be what you decided at the start of your reCAPTCHA account setup.
enter image description here

answered Jan 16, 2019 at 19:58

kylestephens's user avatar

1

Try to add domains without http:// and https:// e.g. example.com

Theblockbuster1's user avatar

answered Feb 19, 2019 at 9:35

Nangyial Ahmad's user avatar

For me, I had simply forgotten to enter the actual domain name in the «Key Settings» area where it says Domains (one per line).

answered Jul 15, 2017 at 20:04

Kirk Ross's user avatar

Kirk RossKirk Ross

5,98112 gold badges57 silver badges96 bronze badges

I had the same problems. I solved it: I went to https://www.google.com/recaptcha/admin, clicked on the domain and then went to key settings at the bottom.

There I disabled the option below Domain Name Validation Verify the origin of reCAPTCHA solution.

Clicked on save and captcha started working.

ascripter's user avatar

ascripter

5,40512 gold badges49 silver badges66 bronze badges

answered Feb 13, 2019 at 11:27

SWQA's user avatar

0

You should set your domain for example: www.abi.wapka.mobi, that is if you are using a wapka site.

Note that if you had a domain with wapka it won’t work, so compare wapka with your site provider and text it.

Shree Krishna's user avatar

answered May 22, 2016 at 4:55

swixz's user avatar

swixzswixz

111 bronze badge

I tried for almost 4 Hours with this and finally figuring it out with guidance from here, I thought I would share my solution with you.

Ok so my domain is an addon domain. I also got «ERROR for site owner: Invalid domain for site key» I had checked that everything was correct almost a thousand times and it looked right to me, until I thought of it in terms of a desktop shortcut.

Solution:

So for an addon domain make sure that the parent url is also in the list of domains i.e:
[ADDON DOMAIN].[PARENT DOMAIN].com .
The addon location will be the folder that you set on your host so when using addon domains ensure to name the root with something logical.

Hope this helps someone else and thanks for the suggestions people.

Naeem Ul Wahhab's user avatar

answered Jul 23, 2017 at 8:20

Dean De Klerk's user avatar

My domain was quite complex. I took the value returned by window.location.host in the developer console and pasted that value in the recaptcha admin white list. Then I cleared the cache and reloaded the page.

answered Feb 27, 2019 at 11:41

Souradeep Nanda's user avatar

Souradeep NandaSouradeep Nanda

3,0462 gold badges34 silver badges43 bronze badges

I had a similar problem due to the fact that I forgot to show the render parameter

<script src='https://www.google.com/recaptcha/api.js?render=SITE_KEY' async defer></script>

answered Nov 22, 2018 at 12:16

Arseniy's user avatar

Содержание

  1. Ошибка неверный домен ключа recaptcha как исправить joomla
  2. reCAPTCHA ERROR: Неверный домен для ключа сайта
  3. 17 ответов
  4. Joomla 3.8.1 и CAPTCHA — reCAPTCHA v2 — Joomla 3.x: Установка, обновление и настройка
  5. reCAPTCHA ERROR: Invalid domain for site key
  6. 17 Answers 17
  7. How to Fix “Error for Site Owner Invalid Domain for Site Key”
  8. Published by Anjum on October 23, 2020 October 23, 2020
  9. ERROR FOR SITE OWNER: INVALID DOMAIN FOR SITE KEY
  10. HOW TO FIX THE ERROR “ERROR FOR SITE OWNER: INVALID DOMAIN FOR SITE KEY” ON WORDPRESS LOGIN PAGE
  11. 1- GO TO CPANEL OF YOUR WEBSITE AND OPEN FILE MANAGER TO MAKE CHANGES
  12. 2- ADD SITE TO GOOGLE RECAPTCHA AND RE-INSTALL THE PLUGIN
  13. CONCLUSION

Ошибка неверный домен ключа recaptcha как исправить joomla

reCAPTCHA ERROR: Неверный домен для ключа сайта

Я реализовал свою reCAPTCHA в соответствии с тем, что показано в примере.

У меня есть этот сценарий в теге head :

В моем form в HTML у меня есть:

Но когда я загружаю form , я получаю такую ​​ошибку:

ОШИБКА: неверный домен для ключа сайта

Я подтвердил, что это правильный ключ сайта для моего домена.

Код в настоящее время находится в поддомене, поэтому я подумал, что, возможно, это проблема, поэтому я также добавил поддомен в администратор Google reCAPTCHA, но все равно получаю сообщение об ошибке.

Тот же самый код на 100% работает в другом домене (с ключом, специфичным для этого домена).
В чем может быть проблема?

17 ответов

На случай, если у кого-то есть подобная проблема. Мое решение состояло в том, чтобы удалить ключ, который не работал, и получить новый ключ для моего домена. И это теперь работает со всеми моими поддоменами, без необходимости явно указывать их в области администрирования recaptcha.

У меня была аналогичная проблема из-за того, что я забыл показать параметр рендеринга

Моя область была довольно сложной. Я взял значение, возвращаемое window.location.host в консоли разработчика, и вставил это значение в белый список администратора recaptcha. Затем я очистил кеш и перезагрузил страницу.

У меня были такие же проблемы. Я решил это: зашел на https://www.google.com/recaptcha/admin , щелкнул домен, а затем перешел к ключевым настройкам внизу.

Там я отключил опцию ниже «Проверка имени домена» Проверить происхождение решения reCAPTCHA.

Нажал сохранить и капча заработала.

Я пробовал это почти 4 часа и, наконец, разобравшись с этим под руководством отсюда, я подумал, что поделюсь с вами своим решением.

Итак, мой домен — это дополнительный домен. Я также получил сообщение «ОШИБКА для владельца сайта: недействительный домен для ключа сайта». Я проверил, что все было правильно, почти тысячу раз, и мне это показалось правильным, пока я не подумал об этом с точки зрения ярлыка на рабочем столе.

Решение:

Поэтому для дополнительного домена убедитесь, что родительский URL-адрес также находится в списке доменов, например: [ДОБАВИТЬ ДОМЕН]. [РОДИТЕЛЬСКИЙ ДОМЕН] .com. Местоположение надстройки будет папкой, которую вы установили на своем хосте, поэтому при использовании дополнительных доменов убедитесь, что корень имеет логичное имя.

Надеюсь, это поможет кому-то другому, и спасибо за предложения людям.

Что касается меня, я просто забыл ввести фактическое доменное имя в области «Основные настройки», где написано «Домены» (по одному в каждой строке).

Попробуйте добавить домены без http:// и https:// , например example.com

Я также столкнулся с этой проблемой, и моим решением было проверить, что я интегрирую соответствующий клиентский код для выбранной мной версии.

В моем случае я выбрал reCAPTCHA v3, но использовал код интеграции клиента для v2.

V3 выглядит так:

Код V2 выглядит так:

Что касается того, какая у вас версия, это будет то, что вы решили в начале настройки учетной записи reCAPTCHA.

Убедитесь, что вы указали свое доменное имя, и оно не должно заканчиваться путем.

Перед повторным созданием ключей, которые решают проблему на 90%, необходимо отметить еще один момент.

Например, ваш каталог xampp — C: xampp

А папка htdocs — это C: xampp htdocs

Мы хотим открыть страницу с именем: example-cap.html, и на странице отображается ошибка «недопустимый домен для ключа сайта»

ИСПОЛЬЗУЙТЕ СВОЙ ЛОКАЛЬНЫЙ АДРЕС в адресе браузера, например:

Это решит вашу проблему

НЕ ИСПОЛЬЗУЙТЕ АДРЕС c: xampp htdocs example-cap.html, это приведет к ошибке

Возможно, вы случайно использовали закрытый ключ в качестве открытого ключа.

Я использовал localhost во время модульного тестирования, когда мой ключ recaptcha был зарегистрирован на 127.0.0.1. Поэтому я изменил свой браузер на 127.0.0.1, и он начал работать. Хотя мне удалось добавить «localhost» в список доменов в моих настройках ключа ReCaptcha, я все еще не могу выполнить модульное тестирование с использованием localhost. Мне нужно использовать IP-адрес обратной петли 127.0.0.1.

Думаю, самый быстрый способ — просто отключить проверку домена, пока вы его разрабатываете.

У меня были те же проблемы, что и я решил. Я зашел на страницу https://www.google.com/recaptcha/admin и щелкнул домен, а затем перешел к ключевым настройкам внизу.

Там я отключил опцию ниже Проверка доменного имени Проверьте источник решения reCAPTCHA

Нажал на сохранение и капча заработала.

Я думаю, это связано со способом настройки сервера. Я использую общий хостинг, и меня просто без уведомления перевели с Liquidweb на Deluxehosting (так как первый продал свой общий хостинг второму), и у меня возникли такие проблемы со многими проблемами. Я думаю, что в этом случае Google проверяет сервер, но он идентифицируется как имя общего сервера, а не как мой домен. Когда я снимаю флажок «Проверить происхождение», он начинает работать. Надеюсь, это поможет решить проблему на данный момент.

Не нужно создавать новый ключ, просто очистите данные сайта в браузере

Если вы измените домен своего сайта, добавьте этот домен к существующему ключу (создавать новый ключ не обязательно) и сохраните его.

Но у Google recapture есть некоторые данные о браузере. Очистите их, тогда он будет работать с вашим новым доменом

Прежде всего, управление ключами осуществляется на странице https://www.google.com/recaptcha/admin#. список

Я столкнулся с этой ошибкой, потому что я использую один и тот же ключ в нескольких разных доменах, и я забыл добавить один из доменов к ключу.

После добавления моего сайта потребовалась минута или две (скорее всего, из-за кеша), чтобы все снова заработало нормально.

Вы должны установить свой домен, например: www.abi.wapka.mobi , то есть если вы используете сайт wapka.

Обратите внимание, что если у вас есть домен с wapka, он не будет работать, поэтому сравните wapka с вашим провайдером сайта и отправьте текстовое сообщение.

Joomla 3.8.1 и CAPTCHA — reCAPTCHA v2 — Joomla 3.x: Установка, обновление и настройка

Бесплатный плагин вставки модулей Joomla в JoomShopping. Нередко, при разработке интернет-магазина на Joomla JoomShopping бывает нужно вывести информацию из модулей Joomla в карточке товара или в категории. Обычно это делается программным методом прямо в шаблоне магазина.

Вышел релиз Joomla 4.1.4

Доступна к загрузке Joomla 4.1.4. Это релиз с исправлениями ошибок и улучшениями для серий Joomla 4.0.x.

Сбор средств для помощи нашему камраду voland’у

Сообщество Joomla!, объявляется сбор средств для помощи нашему камраду Болотову Сергею, на форуме — voland, создатель бота Ванга, повелитель минусов на форуме )).

reCAPTCHA ERROR: Invalid domain for site key

I have implemented my reCAPTCHA in line with as is shown in the example.

I have this script in the head tag:

In my form in HTML I have:

But when I load the form I get this error:

ERROR: Invalid domain for site key

I have confirmed that this is the correct site key for my domain.

The code is currently in a subdomain so I thought maybe that was the problem so I also added the subdomain to the Google reCAPTCHA admin but still get the error.

The exact same code works 100% in a different domain (with a key specific to that domain).
What could be the problem?

17 Answers 17

In case someone has a similar issue. My resolution was to delete the key that was not working and got a new key for my domain. And this now works with all my sub-domains as well without having to explicitly specify them in the recaptcha admin area.

I ran into this error because I’m using the same key on a few different domains and I had forgotten to add one of the domains to the key.

After adding my site it took a minute or two (most likely because of cache) for things to work normally again.

I had the same problems I solved it. I went to https://www.google.com/recaptcha/admin and clicked on the domain and then went to key settings at the bottom.

There I disabled the the option below Domain Name Validation Verify the origin of reCAPTCHA solution

clicked on save and captcha started working.

I think this has to do with way the server is setup. I am on a shared hosting and just was transferred without notice from Liquidweb to Deluxehosting(as the former sold their share hosting to the latter) and have been having such problems with many issues. I think in this case google is checking the server but it is identifying as shared server name and not my domain. When i uncheck the «verify origin» it starts working. Hope this helps solve the problem for the time being.

Источник

How to Fix “Error for Site Owner Invalid Domain for Site Key”

Published by Anjum on October 23, 2020 October 23, 2020

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

Last Updated on May 10, 2021 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 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

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

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.

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

  • Select Plugins.
  • 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.

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.

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.

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

Источник

Понравилась статья? Поделить с друзьями:
  • Error object response
  • Error number 1021 mysql
  • Error not implemented navigation except hash changes
  • Error non whitespace before first tag
  • Error no valid session type