How to Add Google reCAPTCHA in Sitepad

Have you ever thought about changing the Sitepad login security feature that uses math problems to Google reCAPTCHA? Can we actually add Google reCAPTCHA to Sitepad?

Of course we can. But before that, you surely know what reCAPTCHA is, right? It is a feature used to ensure that you are human.

Now, if you are using Sitepad, by default the security feature used is a math captcha where this captcha asks the user to perform a calculation before logging in, sending comments, and other forms, which might be more boring than choosing one of the pictures with a crosswalk in it.

If you want to change this math captcha, you can follow the tutorial on this page.

How to Add Google reCAPTCHA in Sitepad

Because we will be using an external service (Google), we certainly need something that can connect our website with Google, and to connect this reCAPTCHA we can use Site Key and Secret Key which can be created on Google.

1. Create Site and Secret Key in Google reCAPTCHA

To create or get a Key from Google, we certainly need an active Google account. Then, if you already have an active Google account, we can start creating reCAPTCHA through the page https://www.google.com/recaptcha/admin/.

If you have never created a reCAPTCHA on Google before, you will be given a form to create your first reCAPTCHA immediately. However, if you have created one before, you can click the icon Plus (+) to create a new Key.

Cara Menambahkan Google reCAPTCHA di Sitepad - 1-1

If you get the message Now enterprise ready! then you can choose the option Switch to create a classic key to use the free Key, because with the enterprise option you will need to connect the created key to the Google Cloud Platform later.

Cara Menambahkan Google reCAPTCHA di Sitepad - 1-2

Next, on the form, there are several things that we need to fill in according to our needs. The usage functions can be seen in the table below.

OptionFunction
LabelUsed to give a name to the Key we are creating, which makes it easier for us if we want to edit the Key at another time.
reCAPTCHA typeThe type of reCAPTCHA we are creating. For example, if using reCAPTCHA V3, Google will automatically detect whether the visitor is a bot or not, and if a bot is detected, the reCAPTCHA will appear.
For the reCAPTCHA type, it is recommended to use V2 with the "I'm not robot" checkbox.
DomainsUsed to add domains that can use the reCAPTCHA we created. For the domain, it can be written according to the website name, for example wpgan.com, without http or https
OwnersUsed to add reCAPTCHA managers. If it is only managed by yourself, there is no need to add other users. However, if it is managed together, we can add an email address (Gmail) in the available column.

If you are still confused, you can see the example of filling out the Google reCAPTCHA form below

Cara Menambahkan Google reCAPTCHA di Sitepad - 1-3-0

If everything is filled in correctly, we can click the button Submit to get the Key according to the configuration we have created, and then Google will direct us to the page to copy the Site Key and Secret Key that were successfully created.

Cara Menambahkan Google reCAPTCHA di Sitepad - 1-4

Please copy both keys, and then we can open Sitepad to add the saved Key.

2. Add Key to Sitepad

To add the Key that we have obtained from Google to Sitepad, we can log in to Sitepad, then in the admin dashboard we can open the menu Security > reCAPTCHA

Cara Menambahkan Google reCAPTCHA di Sitepad - 2-1

Next, on the page SitePad reCAPTCHA Settings, change the option Captcha Status from Math Captcha to Google reCAPTCHA and choose reCAPTCHA type according to what we created on Google.

Cara Menambahkan Google reCAPTCHA di Sitepad - 2-2

After choosing the option Google reCAPTCHA, two columns will automatically appear to fill in the Site Key and Secret Key. Just fill in both columns with the keys we got from Google, then save the changes by clicking the button Save Changes.

Cara Menambahkan Google reCAPTCHA di Sitepad - 2-3

If it has been saved, we can then check whether Google reCAPTCHA has been successfully added correctly and without any issues.

3. Test Google reCAPTCHA

To test or try Google reCAPTCHA, you can try visiting the Sitepad login page with a private tab (Shortcut Private Tab for Every PC Browser), then access https://namaweb.site/login/ or you can also use another login link if you have previously changed the default Sitepad login link.

Cara Menambahkan Google reCAPTCHA di Sitepad - 2-4

If the reCAPTCHA is displayed, we still need to perform further testing, for example by verifying by clicking I am not a robot, then checking whether the login email can be sent or not, and other tests.

Conclusion

Using this reCAPTCHA can simplify the login process, adding comments, registration pages, forgot password, and several other forms so that the form submission process will be easier.

However, make sure to perform captcha testing after the captcha feature is changed, so that there are no errors on the website later that might cause you to be unable to log in, unable to send comments, and so on.

If an error occurs after changing the captcha and it causes you to be unable to log in to Sitepad, you can log in as an admin by following this tutorial: How to Log In to Sitepad Without a Password.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...