Making captcha I'm not a robot on the server. ReCAPTCHA is a simple captcha "I'm not a robot" from Google. Why was mistaken for a robot

Hello dear readers of the blog site. I want to devote a little time to a relatively new captcha from Google (it was announced about a year ago), which replaced the old and confused one. Previously, probably few bloggers in their minds could put the brainchild of Google on their website or blog - it was very dreary to solve the letter puzzles offered there. All the convenience of commenting was lost.

Actually, at that distant time, I still used a perfectly working one. To complete it, you just had to put a tick in the "I'm not a robot" box and all (of all possible). If the checkbox was not checked, then the message fell into the basket in the WordPress admin panel, or when the basket was disabled (as in my case), it was simply not added to the database. The ideal option, in my opinion, because it did not create any particular inconvenience to the commentator.

Then this plugin stopped working, and I used it with success for about six months, but this method also stopped working after updating WordPress to version 4.4. During this time, I tried a couple of plugins that filter out spam based on recipient and content analysis (Antispam Bee and CleanTalk). The first one was quite confused (spam is not spam, but non-spam is spam), and the second, contrary to expectations, did not reduce, but increased the load on the server (and even paid for it).

In general, I decided to go back to the proven method - installation of the simplest existing captcha... DCaptcha no longer works, but the giant Google has seriously simplified its initially monstrous reCAPTCHA and reduced the entire check to the very same checkbox "I'm not a robot". Unfortunately, I'm too dumb to understand how to attach this thing to a site without a plugin (although I tried it), so I had to use the services of the No CAPTCHA reCAPTCHA plugin. But first things first.

Spam load reduction techniques and why reCAPTCHA?

As you probably know spam can be manual or automatic... You can protect yourself from the first only by enabling the mandatory moderation of all incoming messages before publishing them on the blog - then, for sure, no "radish" will break through.

But manual spam, as a rule, is a frail trickle compared to the full-flowing river of auto spam. The latter can be generated, for example, by Hrumer in fantastic volumes. Personally, I am more annoyed not even with the fact that several hundred spam comments come to my WordPress admin area per day, but that they can be monstrously long and you get tired of scrolling to the "Delete" button. In general, this problem is real and the more relevant the more popular your blog is.

There is no point in fighting manual spam (because of the doom of this fight and because of its insignificant volume), but something needs to be done with auto spam. Here, as it were two main approaches:

  1. Filter comments already added to the WordPress database for spam / non-spam and push them into the appropriate folders. Unfortunately, plugins that work on this principle give out a lot of rejects and you simply won't be able to empty the "Spam" folder without viewing its contents if you don't want to lose dozens of really valuable comments sent by active readers of your blog.
  2. Attach an additional check to the form for adding a comment as to who exactly leaves this message - a live person or a bot. The task of identifying this difference is called the Turing test and is solved in the vast majority of cases using the so-called captcha (derived from CAPTCHA, which is an abbreviation for a set of smart words). The main problem with this method of fighting spam is that you annoy the commentators with solving the "rebus" (captcha), which can discourage him from continuing to try to leave a message at all.

However, captchas, as I said, are quite simple. Google has taken a major step in this direction and now his new reCAPTCHA just an example of simplicity and grace for the vast majority of users who have come to your site (although a small number of them may still be asked to enter characters from the picture if the algorithm has doubts about its humanity).

This is how Google's reCaptcha will look for 99.9% of your website visitors:

Well, like this, in the event of force majeure (if the algorithm, after conducting a dozen tests for humanity, nevertheless becomes confused):

The durability of this protection can be judged by the fact that on services for recognizing captcha (or) they charge twice as much money for a recap. A very telling indicator.

Well, as if the choice is made - you need to implement it.

Registering a site in reCAPTCHA and installing it on your blog

Registration is simply an indication of the name and domain name of your site, where you plan to use this captcha itself:

After that, you will be taken to the admin panel of the reCAPTCHA service for your site (it probably makes sense to add it to your browser bookmarks). Over time, statistics on the operation of this captcha will be displayed there, well, for now, the most important thing that we can learn from here is just those same keyswithout which "I am not a robot" will not work:

Below are the installation instructions. In the area of \u200b\u200b"Integration on the client side" everything is clear, but simply installing the above code in the specified places is not enough. Captcha will be displayed, but spam will not be filtered. In the area of \u200b\u200b"Integration on the server side" I do not understand anything at all. I'm stupid for that.

Therefore the decision was made use a plugin to integrate reCAPTCHA in WordPressFortunately, there are a lot of options for such plugins (read). True, three of them did not work for me (captcha did not appear in the comment area). After several unsuccessful attempts, I had to turn to smart people for a solution, where I was noticed and subsequently successfully installed a plug-in with an intricate name (like oil is not oil) -.

Setting up and working of the No CAPTCHA reCAPTCHA plugin in WordPress

Well, actually, go to wordPress admin area, from the left menu select "Plugins" - "Add new", enter No CAPTCHA reCAPTCHA into the search line and install. Do not forget to activate it, and then go to its settings in the usual way (at the bottom of the left menu you will find a new item "No CAPTCHA reCAPTCHA").

Actually, here of all the settings, the most important is, again, to enter the keys obtained just above on the reCAPTCHA website:

After saving these changes, the plugin will immediately defends your comments from spammers.

And not just comments. In the settings you can protect with this captcha and the WordPress admin login form:

Even in the settings, you can replace the light color scheme of the recaptcha with a dark one, and also either allow the captcha to guess the user's language itself, or set it forcibly.

Actually, that's all. I have not yet started to forcibly reset the cache in WordPress (I updated only those articles to which Hrumer is traditionally not indifferent), so reCAPTCHA is not displayed on all pages. So far, no complaints have been noticed in the work.

Good luck to you! See you soon on the pages of the blog site

You might be interested

How to get rid of spam in wordPress comments in 5 minutes (no captcha and no plugins) Where to download WordPress - only from the official site wordpress.org Gone left menu in WordPress admin area after update
How to log into the WordPress admin panel, as well as change the administrator login and password given to you when installing the engine How to automatically add Alt attribute to Img tags of your WordPress blog (where they are not) Free WordPress themes and templates - where to download them How to disable comments in WordPress for individual articles or the entire blog, as well as remove or vice versa, enable them in the template Emoticons in WordPress - which emoticons codes to insert, as well as the Qip Smiles plugin (beautiful emoticons for comments) How to find the ID of a category, category, post or page in WordPress and how to return a column with ID to the WordPress admin panel Empty page when viewing large posts (articles) in WordPress
How to update WordPress manually and automatically, as well as the Database Backup plugin for backups

The company claims that its reCAPTCHA system can distinguish a person from a machine without any complicated tasks or checks.

What is reCAPTCHA?

reCAPTCHA is the leading CAPTCHA service on the web. Probably, each of you has seen the so-called "captcha" many times while registering on a particular site. To automatically detect people from spambots, you are asked to enter words or numbers from an image in the required field, select several images containing the desired objects, or simply put a checkmark. But now captchas will appear less often, because Google made its hidden. However, it will not disappear.

How does it work?

The old reCAPTCHA was pretty simple - just a checkmark in the "I'm not a robot" box. The new version has become even easier, there are no tasks or checkboxes in it. It works invisibly and separates bots from people. Google did not elaborate on how the system works.

AT new version systems are combined machine learning and an advanced risk analysis tool that adapts to new threats.

More detailed information about the system will probably help bot creators come up with a way to get around it, so no details can be expected anytime soon.

Google bought the reCAPTCHA company in 2009. Some CAPTCHA systems ask users random questions, but old version reCAPTCHA was actually used to solve problems that Google needed to solve. Google digitizes millions of books, but sometimes software OCR cannot recognize the word and it is sent to reCAPTCHA. If you've ever seen a reCAPTCHA that looked like a bunch of numbers, it was Street View cars racing through the streets and identifying house numbers. If the software could not determine the house number, this photo was converted into a captcha for human recognition. Image sets with requests like "Select all cats" were used to train computer image recognition algorithms.

When sites switch to invisible captcha, most users won't see it at all. But if your system is marked as "suspicious", you will be asked to solve one of the usual problems.

Quite often, users began to contact me with the same question that when searching, google search engine constantly asks to enter the code from the picture. And for some, when entering Google, it immediately asks to enter a captcha, without even opening the search line itself.

And so that questions do not arise, I will try to explain why this happens and how you can try to solve this trouble.

Why is Google constantly asking for a code?

In fact, there are not so many reasons, but rather two.

1. The most popular reason, you have a dynamic ip address (usually mobile operators) used by many users. Not all users are "created equal".

If some users enter the network for work, for leisure or communication, then others may engage in spam, parsing search results, launch different programs (bots) that automatically send many requests to a search engine or other sites, which ultimately leads to the fact that that the ip address gets into different blacklists and database spam.

By the way, not all Internet providers are in a hurry to "pull" their ip from spam sheets.

And some do not specifically get ip, so that there is less spam.

2. An equally popular reason is viruses on your computer. We downloaded an extension for a browser or a program, and in it there was a "surprise" in the form of a virus.

BUT, do not rush to panic, usually viruses want money, and not force you to enter a code when entering a search engine 🙂

Yes, I almost forgot that in addition to entering the code and phone number, it happens that Google just writes:

"We have detected suspicious traffic originating from your network."

and there is no captcha, but just a white page and the search does not open at all. In this case it is full bases ip.

What if Google requires you to enter a captcha?

The actions are really simple:

1. If you have a dynamic ip, then it changes every time you connect to the Internet.
You just need to reboot your modem, router and reconnect to the network.
It is advisable to restart the computer too, although it is not necessary.

2. Try to register the public DNS of Google itself, in many cases it helps.

How to prescribe:

  • go to Network and Sharing Management
  • click on change adapter parameters

In the window, you will see all your connections.

Highlight your connection, press right click mouse and select properties.

At the very bottom of the list will be the Internet Protocol version 4 item, select and click properties.

Set the option to use following addresses dns servers and write it as shown in the screenshot:

  • we prefer dns-server we enter
    8.8.8.8
  • alternate DNS server
    8.8.4.4

click ok and restart the router for the changes to take effect.

As a rule, this helps and Google no longer asks you to enter a captcha when searching.

If for some reason you want to return everything back, in the same window, check the Obtain DNS server address automatically option and click ok. (this will return everything to its original state)

You can also write to change the provider with "gray" ip addresses, but this option is not suitable, since almost all mobile operators have problems with captchas.

Well, not everyone in cities has the opportunity to choose a provider.

But, if the method above did not suit you and google constantly asks you to enter a captcha, there is another one additional way to everything described above, which should save you from the appearance of Google captcha.

1. Create mailbox at gmail.com (if you don't already have one).

2.In google browser Chrome go to the settings and log in using your mail, which you created.

Once you've done this, google captcha won't show up as often.

If you are using another browser do not Google chromebut use google search, there is only one solution, open gmail in one tab and be authorized in it.

And lastly, check your computer for viruses and all kinds of "byaku" that can independently conduct any activity on your computer, just in case 🙂

HOW TO DISABLE "I'M NOT A ROBOT" IN THE BROWSER WINDOW

Often, many computer users are faced with a situation when, when trying to find any information on the Internet, in a browser window instead of search results, they see a picture that offers to confirm that they are not a robot. And for further surfing on the Internet, unhappy users have to type captcha or gaze intently at blurry pictures, in general, waste time to prove that they are not robots, but just people who wanted to go to the Internet. In this article, I propose to understand why this is happening and how to deal with this problem.

For those who are more accustomed to watching and listening than reading, this article is posted on YouTube at this address.

Why it happens?

First, let's figure out why this is happening. First, this problem occurs due to the fact that some search engines have taken responsibility for controlling the "behavior" of users on the Internet. This is usually done in order to prevent the use of specialized programs that imitate the actions of ordinary Internet users visiting various sites.

Secondly, a similar situation can arise when Internet users excessively often use the services of various anonymizers, VPN clients, and also use other tricks to hide information about the Internet user or replace it with another (real or virtual).

What browsers happens in?

This can happen in any browser that uses the search engines "Google" or "Yandex". Moreover, in this matter, the search engine "Google" is showing great "malignancy". Figure 1 shows appearance "Manifestations of distrust" to the user from the search engine "Google". Figure 2 shows a similar situation with the Yandex search engine.

Fig. 2 (see Fig. 1 1) shows an example of captcha for identifying an Internet user in the Yandex search engine. Figure 3 shows an example of identification in the Google search engine.


To combat this situation, various users use different ways... Someone stubbornly peers at the proposed text or picture, types this text or clicks on the "correct" images, someone struggles with this problem with the help of specialized programs, and someone simply spits on this situation and stops trying to find an answer on the Internet to the question that interests him.


But the solution to this problem is extremely simple (at least at the moment).

Ways to get around the "I'm not a robot" problem when searching for information on the Internet

First, reduce to the required minimum the use of various anonymizers, VPN clients, etc.

Second, as noted above, this problem is independent of the browser used, but only of the search engine. From this it follows - just go to another search engine. At the moment, the most reliable and not biased in this matter are the search engines "DucDucGo" "Yahoo" and "Bing". There are other search engines that, in a fit of blocking search spam (manual and machine), have not yet tried to mock Internet users, who, for some reason, are “too hard” to disguise themselves. If you don't want to change the settings search engines and browsers on your computer, once selected by you, simply set links to the above search engines on the bookmarks bar of your favorite browsers. And when "Google" or "Yandex" require you to prove that you are not a robot, just open any of these links and enter your search query again in the search bar.

I do not give direct links to the specified search engines, because they (links) may change from time to time, and it is quite difficult to keep track of the changes, especially to remember in which article and in what place this link was used. You can always find these links on the Internet.

Thirdly, if you still have an urgent need to use the search engines "Google" or "Yandex" while searching on the Internet (for example, you have been blocked on some site), then when searching, do not use search phraseand a specific url. Google, unlike Yandex, loves it very much.

Well, in conclusion, as I said above and in the article "", you should not use the services of anonymizers, VPN clients, etc. unnecessarily unnecessarily. and hide on the Internet too often. First, it is easy to calculate. Secondly, despite the fact that the distributors of "anonymous surfing" services shout in unison that their services are absolutely safe, this is far from the case. Who can be sure that when you install a VPN client on your computer, you do not install any Trojan along with it? Who can be 100% sure that the anonymizers' servers do not keep a log of your actions through their server? And in general, how did you test the reliability of companies that provide anonymous surfing?

There are other ways to disable the “I'm not a robot” identification system. I suggested one of them and, in my opinion, the simplest. I don’t know how long it will work, because Recently, most search engines are too fond of "keeping a finger on the pulse" (more precisely, on the throat) of their users and make them constantly register and give them their confidential information.

Itsenko Alexander Ivanovich

Hello!. Not so long ago, I had a problem on my site: the captcha, which used to work for a long time and regularly, stopped doing it. Recently, the number of spam comments reached 70 per day, you must admit it is too much to put it mildly. It was clear that the old plugin was not working and a new solution had to be found.

Comments are inherently divided into two types: automatic and manual. Tame, as the name implies, are left alive by people, usually in small numbers. But here are the automatic comments that are left by robotic programs, in colossal sizes, and especially if it is a blog with a lot of traffic.

Why did I choose reCAPTCHA?

Having looked for a solution on the open spaces of the Russian Internet, my eyes fell on reCAPTCHA from Google. I used to think about putting this captcha on the blog, but the fact is that before the captcha itself was too complicated, and then I abandoned it. In the new version of the captcha, Google took into account all the shortcomings of the previous version and created a captcha, which, in terms of simplicity and convenience, was an order of magnitude ahead of all its competitors.

Take a look at how Google's reCaptcha looks like for 99.9% of your website visitors:

And this is how it will look in case of force majeure (if the algorithm, after conducting a dozen tests for humanity, still doubts):

Registering a site in reCAPTCHA and installing it on your blog

First, you need to go to the official reCAPTCHA page (https://www.google.com/recaptcha/admin#list) and add your site there in order to get two keys in return, which you will need in the future for the captcha to work.

Registration is an indication of the name of the captcha in the system and domain name your site, where you plan to use this captcha. Fill in all the fields and click "Register".

After that, you will be taken to the administrative panel of the reCAPTCHA service for your site. If you want, you can add it to your browser bookmarks so that you do not search in the future. Over time, in the process of work, reCaptcha will start showing you statistics on work, but for now, from this panel we can take the very keys without which "I'm not a robot" will not work.


Below you will see instructions on how to carry out the integration. To be honest, it was not very clear to me, so it was decided to solve this issue using a plugin for integrating reCAPTCHA in WordPress. After searching the Internet, a simple and functional plugin was found - No CAPTCHA reCAPTCHA (https://wordpress.org/plugins/no-captcha-recaptcha/).

Setting up and working of the No CAPTCHA reCAPTCHA plugin in WordPress

First, we need to install the plugin itself, for this go to the administrative wordPress dashboard, from the left menu select "Plugins" - "Add new", enter No CAPTCHA reCAPTCHA in the search line and install. Then do not forget to activate it and go to its settings (at the bottom of the left menu you will find a new item "No CAPTCHA reCAPTCHA").



In addition to all of the above, in the plugin settings, you can also set the color scheme to light or dark, as well as either give the captcha the ability to guess the user's language itself, or install it forcibly.

After saving the changes to the blog, spam protection immediately appears, and now you are protected from the automatic comments generated by programs such as Hrumer, at a fantastic size, especially if you have a large project.


I hope this article on Google reCAPTCHA was helpful. If you have any additions or questions, then feel free to leave your comments ..