{"id":115830,"date":"2025-06-23T08:09:32","date_gmt":"2025-06-23T01:09:32","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=115830"},"modified":"2025-06-23T08:09:32","modified_gmt":"2025-06-23T01:09:32","slug":"cach-cai-dat-recaptcha-cho-wordpress","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cach-cai-dat-recaptcha-cho-wordpress\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t reCAPTCHA cho WordPress gi\u00fap ch\u1eb7n spam hi\u1ec7u qu\u1ea3"},"content":{"rendered":"\n<p><strong>Trong th\u1eddi \u0111\u1ea1i s\u1ed1 h\u00f3a, <a href=\"https:\/\/tino.vn\/blog\/van-de-bao-mat-thuong-gap-voi-wordpress\/\" target=\"_blank\" data-type=\"post\" data-id=\"109014\" rel=\"noreferrer noopener\">b\u1ea3o m\u1eadt website <\/a>l\u00e0 y\u1ebfu t\u1ed1 quan tr\u1ecdng gi\u00fap ng\u0103n ch\u1eb7n c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng t\u1eeb bot v\u00e0 hacker. M\u1ed9t trong nh\u1eefng ph\u01b0\u01a1ng ph\u00e1p \u0111\u01a1n gi\u1ea3n nh\u01b0ng hi\u1ec7u qu\u1ea3 \u0111\u1ec3 b\u1ea3o v\u1ec7 trang web <a href=\"https:\/\/tino.vn\/blog\/wordpress-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"15589\" rel=\"noreferrer noopener\">WordPress <\/a>c\u1ee7a b\u1ea1n l\u00e0 s\u1eed d\u1ee5ng reCAPTCHA \u2013 c\u00f4ng c\u1ee5 ch\u1ed1ng spam m\u1ea1nh m\u1ebd do Google ph\u00e1t tri\u1ec3n. Trong b\u00e0i vi\u1ebft n\u00e0y, Tino s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch c\u00e0i \u0111\u1eb7t reCAPTCHA cho WordPress \u0111\u01a1n gi\u1ea3n v\u00e0 hi\u1ec7u qu\u1ea3.<\/strong><\/p>\n\n\n\n<h2 id=\"\u0110\u00f4i_n\u00e9t_v\u1ec1_reCAPTCHA_\"><a id=\"post-115830-_2c37527w6qdx\"><\/a>\u0110\u00f4i n\u00e9t v\u1ec1 reCAPTCHA <\/h2>\n\n\n\n<h3 id=\"reCAPTCHA_l\u00e0_g\u00ec?\"><a id=\"post-115830-_2m93eg65vrkx\"><\/a><strong>reCAPTCHA l\u00e0 g\u00ec?<\/strong><\/h3>\n\n\n\n<p><a href=\"https:\/\/developers.google.com\/recaptcha?hl=vi\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/developers.google.com\/recaptcha?hl=vi\" rel=\"noreferrer noopener nofollow\">reCAPTCHA <\/a>l\u00e0 m\u1ed9t d\u1ecbch v\u1ee5 b\u1ea3o m\u1eadt mi\u1ec5n ph\u00ed do Google ph\u00e1t tri\u1ec3n, gi\u00fap b\u1ea3o v\u1ec7 website kh\u1ecfi c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng t\u1ef1 \u0111\u1ed9ng b\u1eb1ng c\u00e1ch ph\u00e2n bi\u1ec7t ng\u01b0\u1eddi d\u00f9ng th\u1ef1c v\u00e0 bot. C\u00f4ng ngh\u1ec7 n\u00e0y th\u01b0\u1eddng \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p v\u00e0o c\u00e1c bi\u1ec3u m\u1eabu \u0111\u0103ng nh\u1eadp, \u0111\u0103ng k\u00fd, b\u00ecnh lu\u1eadn ho\u1eb7c li\u00ean h\u1ec7 \u0111\u1ec3 ng\u0103n ch\u1eb7n spam v\u00e0 c\u00e1c h\u00e0nh vi x\u00e2m nh\u1eadp tr\u00e1i ph\u00e9p.<\/p>\n\n\n\n<p>Hi\u1ec7n nay, reCAPTCHA c\u00f3 nhi\u1ec1u phi\u00ean b\u1ea3n kh\u00e1c nhau nh\u01b0 reCAPTCHA v2 (y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng ch\u1ecdn h\u00ecnh \u1ea3nh ho\u1eb7c \u0111\u00e1nh d\u1ea5u x\u00e1c nh\u1eadn \u201cT\u00f4i kh\u00f4ng ph\u1ea3i l\u00e0 robot\u201d) v\u00e0 reCAPTCHA v3 (ho\u1ea1t \u0111\u1ed9ng ng\u1ea7m v\u00e0 t\u1ef1 \u0111\u1ed9ng \u0111\u00e1nh gi\u00e1 h\u00e0nh vi ng\u01b0\u1eddi d\u00f9ng m\u00e0 kh\u00f4ng c\u1ea7n t\u01b0\u01a1ng t\u00e1c).<\/p>\n\n\n\n<p>Vi\u1ec7c s\u1eed d\u1ee5ng reCAPTCHA kh\u00f4ng ch\u1ec9 gi\u00fap t\u0103ng c\u01b0\u1eddng b\u1ea3o m\u1eadt cho website WordPress m\u00e0 c\u00f2n c\u1ea3i thi\u1ec7n tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng b\u1eb1ng c\u00e1ch gi\u1ea3m thi\u1ec3u c\u00e1c h\u00ecnh th\u1ee9c x\u00e1c minh ph\u1ee9c t\u1ea1p.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-1.png\" alt=\"reCAPTCHA l\u00e0 g\u00ec?\" class=\"wp-image-115842\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-1-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>reCAPTCHA l\u00e0 g\u00ec?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 id=\"L\u1ee3i_\u00edch_c\u1ee7a_reCAPTCHA_trong_vi\u1ec7c_b\u1ea3o_v\u1ec7_website_kh\u1ecfi_spam_v\u00e0_bot\"><a id=\"post-115830-_7ilcjwy2szl9\"><\/a><strong>L\u1ee3i \u00edch c\u1ee7a reCAPTCHA trong vi\u1ec7c b\u1ea3o v\u1ec7 website kh\u1ecfi spam v\u00e0 bot<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ng\u0103n ch\u1eb7n spam t\u1ef1 \u0111\u1ed9ng:<\/strong> reCAPTCHA gi\u00fap b\u1ea3o v\u1ec7 website kh\u1ecfi c\u00e1c bot t\u1ef1 \u0111\u1ed9ng g\u1eedi h\u00e0ng lo\u1ea1t b\u00ecnh lu\u1eadn spam, \u0111\u0103ng k\u00fd t\u00e0i kho\u1ea3n \u1ea3o ho\u1eb7c g\u1eedi email r\u00e1c qua bi\u1ec3u m\u1eabu li\u00ean h\u1ec7.<\/li>\n\n\n\n<li><strong>B\u1ea3o v\u1ec7 trang \u0111\u0103ng nh\u1eadp WordPress: <\/strong>reCAPTCHA h\u1ea1n ch\u1ebf c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng brute force b\u1eb1ng c\u00e1ch y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng x\u00e1c minh tr\u01b0\u1edbc khi \u0111\u0103ng nh\u1eadp, gi\u1ea3m nguy c\u01a1 b\u1ecb hack t\u00e0i kho\u1ea3n qu\u1ea3n tr\u1ecb.<\/li>\n\n\n\n<li><strong>T\u0103ng c\u01b0\u1eddng b\u1ea3o m\u1eadt cho bi\u1ec3u m\u1eabu li\u00ean h\u1ec7:<\/strong> C\u00e1c bot th\u01b0\u1eddng s\u1eed d\u1ee5ng bi\u1ec3u m\u1eabu li\u00ean h\u1ec7 \u0111\u1ec3 g\u1eedi tin nh\u1eafn r\u00e1c ho\u1eb7c t\u1ea5n c\u00f4ng website. Vi\u1ec7c t\u00edch h\u1ee3p reCAPTCHA gi\u00fap \u0111\u1ea3m b\u1ea3o ch\u1ec9 c\u00f3 ng\u01b0\u1eddi d\u00f9ng th\u1eadt m\u1edbi c\u00f3 th\u1ec3 g\u1eedi th\u00f4ng tin h\u1ee3p l\u1ec7.<\/li>\n\n\n\n<li><strong>Gi\u1ea3m t\u1ea3i cho m\u00e1y ch\u1ee7 v\u00e0 t\u0103ng t\u1ed1c \u0111\u1ed9 website: <\/strong>Khi ng\u0103n ch\u1eb7n \u0111\u01b0\u1ee3c c\u00e1c l\u01b0\u1ee3t truy c\u1eadp t\u1ef1 \u0111\u1ed9ng t\u1eeb bot, website s\u1ebd gi\u1ea3m b\u1edbt l\u01b0\u1ee3ng y\u00eau c\u1ea7u kh\u00f4ng c\u1ea7n thi\u1ebft, gi\u00fap c\u1ea3i thi\u1ec7n hi\u1ec7u su\u1ea5t v\u00e0 t\u1ed1c \u0111\u1ed9 t\u1ea3i trang.<\/li>\n\n\n\n<li><strong>B\u1ea3o v\u1ec7 d\u1eef li\u1ec7u ng\u01b0\u1eddi d\u00f9ng:<\/strong> reCAPTCHA gi\u00fap gi\u1ea3m thi\u1ec3u nguy c\u01a1 bot l\u1ee3i d\u1ee5ng l\u1ed7 h\u1ed5ng b\u1ea3o m\u1eadt \u0111\u1ec3 \u0111\u00e1nh c\u1eafp th\u00f4ng tin c\u00e1 nh\u00e2n, b\u1ea3o v\u1ec7 d\u1eef li\u1ec7u quan tr\u1ecdng c\u1ee7a kh\u00e1ch h\u00e0ng v\u00e0 doanh nghi\u1ec7p.<\/li>\n\n\n\n<li><strong>D\u1ec5 d\u00e0ng t\u00edch h\u1ee3p v\u00e0o WordPress:<\/strong> reCAPTCHA c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c th\u00eam v\u00e0o WordPress th\u00f4ng qua plugin ho\u1eb7c m\u00e3 t\u00f9y ch\u1ec9nh, gi\u00fap ch\u1ee7 website d\u1ec5 d\u00e0ng tri\u1ec3n khai m\u00e0 kh\u00f4ng c\u1ea7n ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh chuy\u00ean s\u00e2u.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"S\u1eed_d\u1ee5ng_reCAPTCHA_\u1edf_\u0111\u00e2u?\"><a id=\"post-115830-_jyptns69h4ba\"><\/a>S\u1eed d\u1ee5ng reCAPTCHA \u1edf \u0111\u00e2u?<\/h2>\n\n\n\n<h3 id=\"Form_\u0111\u0103ng_nh\u1eadp_WordPress\"><a id=\"post-115830-_f1a9u3f38lrg\"><\/a><strong>Form \u0111\u0103ng nh\u1eadp WordPress<\/strong><\/h3>\n\n\n\n<p>Trang \u0111\u0103ng nh\u1eadp WordPress l\u00e0 m\u1ee5c ti\u00eau h\u00e0ng \u0111\u1ea7u c\u1ee7a c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng brute force, trong \u0111\u00f3 hacker s\u1eed d\u1ee5ng bot \u0111\u1ec3 th\u1eed h\u00e0ng ngh\u00ecn m\u1eadt kh\u1ea9u nh\u1eb1m chi\u1ebfm quy\u1ec1n ki\u1ec3m so\u00e1t website. Vi\u1ec7c t\u00edch h\u1ee3p reCAPTCHA v\u00e0o form \u0111\u0103ng nh\u1eadp gi\u00fap ng\u0103n ch\u1eb7n c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng n\u00e0y, ch\u1ec9 cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng h\u1ee3p l\u1ec7 truy c\u1eadp.<\/p>\n\n\n\n<h3 id=\"Form_b\u00ecnh_lu\u1eadn\"><a id=\"post-115830-_7ydilbnobn4r\"><\/a><strong>Form b\u00ecnh lu\u1eadn<\/strong><\/h3>\n\n\n\n<p>N\u1ebfu website WordPress c\u1ee7a b\u1ea1n c\u00f3 t\u00ednh n\u0103ng b\u00ecnh lu\u1eadn (\u0111\u1eb7c bi\u1ec7t l\u00e0 blog), r\u1ea5t c\u00f3 th\u1ec3 b\u1ea1n s\u1ebd g\u1eb7p t\u00ecnh tr\u1ea1ng spam b\u00ecnh lu\u1eadn t\u1eeb bot ho\u1eb7c t\u00e0i kho\u1ea3n gi\u1ea3 m\u1ea1o. reCAPTCHA gi\u00fap ki\u1ec3m so\u00e1t v\u00e0 lo\u1ea1i b\u1ecf c\u00e1c b\u00ecnh lu\u1eadn kh\u00f4ng mong mu\u1ed1n, gi\u00fap duy tr\u00ec n\u1ed9i dung ch\u1ea5t l\u01b0\u1ee3ng v\u00e0 tr\u00e1nh \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn SEO.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-2.png\" alt=\"S\u1eed d\u1ee5ng reCAPTCHA \u1edf \u0111\u00e2u?\" class=\"wp-image-115843\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-2.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-2-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>S\u1eed d\u1ee5ng reCAPTCHA \u1edf \u0111\u00e2u?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 id=\"Form_li\u00ean_h\u1ec7_(Contact_Form_7,_WPForms,_&#8230;)\"><a id=\"post-115830-_f84tsm1sav8f\"><\/a><strong>Form li\u00ean h\u1ec7 (Contact Form 7, WPForms, &#8230;)<\/strong><\/h3>\n\n\n\n<p>Bot th\u01b0\u1eddng l\u1ee3i d\u1ee5ng form li\u00ean h\u1ec7 \u0111\u1ec3 g\u1eedi email spam, qu\u1ea3ng c\u00e1o ho\u1eb7c th\u1eadm ch\u00ed t\u1ea5n c\u00f4ng website. Khi t\u00edch h\u1ee3p reCAPTCHA v\u00e0o c\u00e1c plugin form ph\u1ed5 bi\u1ebfn nh\u01b0 Contact Form 7, WPForms, Gravity Forms, b\u1ea1n c\u00f3 th\u1ec3 gi\u1ea3m \u0111\u00e1ng k\u1ec3 t\u00ecnh tr\u1ea1ng email r\u00e1c v\u00e0 b\u1ea3o v\u1ec7 th\u00f4ng tin li\u00ean h\u1ec7 c\u1ee7a m\u00ecnh.<\/p>\n\n\n\n<h3 id=\"Trang_\u0111\u0103ng_k\u00fd_th\u00e0nh_vi\u00ean\"><a id=\"post-115830-_ek7t861vny07\"><\/a><strong>Trang \u0111\u0103ng k\u00fd th\u00e0nh vi\u00ean<\/strong><\/h3>\n\n\n\n<p>N\u1ebfu website c\u1ee7a b\u1ea1n cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng \u0111\u0103ng k\u00fd t\u00e0i kho\u1ea3n (ch\u1eb3ng h\u1ea1n nh\u01b0 di\u1ec5n \u0111\u00e0n, website th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed, kh\u00f3a h\u1ecdc online), bot c\u00f3 th\u1ec3 t\u1ef1 \u0111\u1ed9ng t\u1ea1o h\u00e0ng lo\u1ea1t t\u00e0i kho\u1ea3n \u1ea3o nh\u1eb1m spam ho\u1eb7c th\u1ef1c hi\u1ec7n c\u00e1c h\u00e0nh vi gian l\u1eadn. reCAPTCHA gi\u00fap x\u00e1c minh ng\u01b0\u1eddi d\u00f9ng th\u1eadt, gi\u1ea3m nguy c\u01a1 \u0111\u0103ng k\u00fd gi\u1ea3 m\u1ea1o v\u00e0 b\u1ea3o v\u1ec7 h\u1ec7 th\u1ed1ng c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<h2 id=\"C\u00e1c_lo\u1ea1i_reCAPTCHA_v\u00e0_c\u00e1ch_ch\u1ecdn_phi\u00ean_b\u1ea3n_ph\u00f9_h\u1ee3p_cho_WordPress_\"><a id=\"post-115830-_lqyqm3yny9f8\"><\/a><strong>C\u00e1c lo\u1ea1i reCAPTCHA v\u00e0 c\u00e1ch ch\u1ecdn phi\u00ean b\u1ea3n ph\u00f9 h\u1ee3p cho WordPress <\/strong><\/h2>\n\n\n\n<h3 id=\"reCAPTCHA_v2\"><a id=\"post-115830-_mo6amsob9i5j\"><\/a><strong>reCAPTCHA v2<\/strong><\/h3>\n\n\n\n<p>\u0110\u00e2y l\u00e0 phi\u00ean b\u1ea3n ph\u1ed5 bi\u1ebfn nh\u1ea5t, y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng th\u1ef1c hi\u1ec7n m\u1ed9t h\u00e0nh \u0111\u1ed9ng x\u00e1c minh tr\u01b0\u1edbc khi ti\u1ebfp t\u1ee5c. reCAPTCHA v2 c\u00f3 hai h\u00ecnh th\u1ee9c ch\u00ednh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u201cT\u00f4i kh\u00f4ng ph\u1ea3i l\u00e0 ng\u01b0\u1eddi m\u00e1y\u201d (Checkbox reCAPTCHA):<\/strong> Ng\u01b0\u1eddi d\u00f9ng c\u1ea7n \u0111\u00e1nh d\u1ea5u v\u00e0o \u00f4 \u201cI\u2019m not a robot\u201d \u0111\u1ec3 x\u00e1c minh. N\u1ebfu Google nghi ng\u1edd, h\u1ecd s\u1ebd ph\u1ea3i ch\u1ecdn h\u00ecnh \u1ea3nh theo y\u00eau c\u1ea7u.<\/li>\n\n\n\n<li><strong>Invisible reCAPTCHA:<\/strong> Phi\u00ean b\u1ea3n n\u00e0y kh\u00f4ng y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng nh\u1ea5p v\u00e0o \u00f4 x\u00e1c nh\u1eadn m\u00e0 ch\u1ec9 k\u00edch ho\u1ea1t ki\u1ec3m tra khi ph\u00e1t hi\u1ec7n h\u00e0nh vi \u0111\u00e1ng ng\u1edd.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-3.png\" alt=\"C\u00e1c lo\u1ea1i reCAPTCHA v\u00e0 c\u00e1ch ch\u1ecdn phi\u00ean b\u1ea3n ph\u00f9 h\u1ee3p cho WordPress \" class=\"wp-image-115844\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-3.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-3-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1c lo\u1ea1i reCAPTCHA v\u00e0 c\u00e1ch ch\u1ecdn phi\u00ean b\u1ea3n ph\u00f9 h\u1ee3p cho WordPress <\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 id=\"reCAPTCHA_v3\"><a id=\"post-115830-_c41p3uu3wuzz\"><\/a><strong>reCAPTCHA v3<\/strong><\/h3>\n\n\n\n<p>Phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t c\u1ee7a reCAPTCHA ho\u1ea1t \u0111\u1ed9ng ho\u00e0n to\u00e0n ng\u1ea7m, kh\u00f4ng y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng th\u1ef1c hi\u1ec7n b\u1ea5t k\u1ef3 thao t\u00e1c n\u00e0o. Thay v\u00e0o \u0111\u00f3, reCAPTCHA v3 s\u1eed d\u1ee5ng thu\u1eadt to\u00e1n m\u00e1y h\u1ecdc \u0111\u1ec3 ph\u00e2n t\u00edch h\u00e0nh vi v\u00e0 g\u00e1n \u0111i\u1ec3m s\u1ed1 (0.0 \u0111\u1ebfn 1.0) \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh kh\u1ea3 n\u0103ng \u0111\u00f3 l\u00e0 bot hay ng\u01b0\u1eddi th\u1eadt. C\u00e1c website c\u00f3 th\u1ec3 thi\u1ebft l\u1eadp ng\u01b0\u1ee1ng \u0111i\u1ec3m \u0111\u1ec3 quy\u1ebft \u0111\u1ecbnh ch\u1eb7n ho\u1eb7c ki\u1ec3m tra th\u00eam tr\u01b0\u1edbc khi cho ph\u00e9p truy c\u1eadp.<\/p>\n\n\n\n<h3 id=\"reCAPTCHA_Enterprise\"><a id=\"post-115830-_w2ivtsrkzyp2\"><\/a><strong>reCAPTCHA Enterprise<\/strong><\/h3>\n\n\n\n<p>\u0110\u00e2y l\u00e0 phi\u00ean b\u1ea3n cao c\u1ea5p d\u00e0nh cho doanh nghi\u1ec7p, cung c\u1ea5p kh\u1ea3 n\u0103ng b\u1ea3o v\u1ec7 n\u00e2ng cao h\u01a1n so v\u1edbi reCAPTCHA v3. reCAPTCHA Enterprise c\u00f3 th\u1ec3 t\u00edch h\u1ee3p v\u1edbi c\u00e1c h\u1ec7 th\u1ed1ng b\u1ea3o m\u1eadt kh\u00e1c, h\u1ed7 tr\u1ee3 ph\u00e2n t\u00edch h\u00e0nh vi chuy\u00ean s\u00e2u v\u00e0 cho ph\u00e9p t\u00f9y ch\u1ec9nh m\u1ee9c \u0111\u1ed9 b\u1ea3o v\u1ec7 theo nhu c\u1ea7u.<\/p>\n\n\n\n<h3 id=\"N\u00ean_s\u1eed_d\u1ee5ng_lo\u1ea1i_reCAPTCHA_n\u00e0o?\"><a id=\"post-115830-_xrkiupdywekf\"><\/a><strong>N\u00ean s\u1eed d\u1ee5ng lo\u1ea1i reCAPTCHA n\u00e0o?<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu b\u1ea1n mu\u1ed1n \u0111\u01a1n gi\u1ea3n v\u00e0 d\u1ec5 s\u1eed d\u1ee5ng \u2192 reCAPTCHA v2 (Checkbox ho\u1eb7c Invisible).<\/li>\n\n\n\n<li>N\u1ebfu mu\u1ed1n b\u1ea3o m\u1eadt cao h\u01a1n m\u00e0 kh\u00f4ng \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng \u2192 reCAPTCHA v3.<\/li>\n\n\n\n<li>N\u1ebfu b\u1ea1n l\u00e0 doanh nghi\u1ec7p l\u1edbn c\u1ea7n b\u1ea3o m\u1eadt n\u00e2ng cao \u2192 reCAPTCHA Enterprise.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_c\u00e1ch_c\u00e0i_\u0111\u1eb7t_reCAPTCHA_cho_WordPress\"><a id=\"post-115830-_iw5gwhn64ezi\"><\/a>H\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t reCAPTCHA cho WordPress<\/h2>\n\n\n\n<h3 id=\"Th\u00eam_reCAPTCHA_v\u00e0o_WordPress_b\u1eb1ng_Plugin\"><a id=\"post-115830-_famv48wggxv2\"><\/a><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin<\/strong><\/h3>\n\n\n\n<p>\u0110\u00e2y l\u00e0 ph\u01b0\u01a1ng ph\u00e1p \u0111\u01a1n gi\u1ea3n nh\u1ea5t, ph\u00f9 h\u1ee3p v\u1edbi ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u v\u00ec kh\u00f4ng y\u00eau c\u1ea7u ch\u1ec9nh s\u1eeda m\u00e3 ngu\u1ed3n. B\u1ea1n ch\u1ec9 c\u1ea7n s\u1eed d\u1ee5ng m\u1ed9t plugin v\u00e0 t\u00e0i kho\u1ea3n Google \u0111\u1ec3 thi\u1ebft l\u1eadp.<\/p>\n\n\n\n<p>L\u01b0u \u00fd: C\u00e1c b\u01b0\u1edbc c\u00f3 th\u1ec3 thay \u0111\u1ed5i t\u00f9y thu\u1ed9c v\u00e0o plugin CAPTCHA m\u00e0 b\u1ea1n ch\u1ecdn. Trong h\u01b0\u1edbng d\u1eabn n\u00e0y, Tino s\u1ebd s\u1eed d\u1ee5ng Advanced Google reCAPTCHA v\u00ec d\u1ec5 c\u00e0i \u0111\u1eb7t v\u00e0 c\u00f3 phi\u00ean b\u1ea3n mi\u1ec5n ph\u00ed.<\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_1:_C\u00e0i_\u0111\u1eb7t_plugin_reCAPTCHA_cho_WordPress\"><a id=\"post-115830-_xt10c6j4xp2e\"><\/a>B\u01b0\u1edbc 1: C\u00e0i \u0111\u1eb7t plugin reCAPTCHA cho WordPress<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tr\u00ean b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n WordPress, v\u00e0o <strong>Plugins<\/strong> \u2192 <strong>Add New Plugin<\/strong>.<\/li>\n\n\n\n<li>T\u00ecm ki\u1ebfm <strong>Advanced Google reCAPTCHA <\/strong>v\u00e0 nh\u1ea5n <strong>Enter<\/strong>.<\/li>\n\n\n\n<li>Nh\u1ea5n <strong>Install Now<\/strong> v\u00e0 \u0111\u1ee3i qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t ho\u00e0n t\u1ea5t.<\/li>\n\n\n\n<li>Sau khi c\u00e0i \u0111\u1eb7t xong, nh\u1ea5n <strong>Activate <\/strong>\u0111\u1ec3 k\u00edch ho\u1ea1t plugin.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-4.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin\" class=\"wp-image-115845\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-4.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-4-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_2:_T\u1ea1o_v\u00e0_c\u1ea5u_h\u00ecnh_reCAPTCHA_v\u1edbi_Google\"><a id=\"post-115830-_tn785aye17h4\"><\/a>B\u01b0\u1edbc 2: T\u1ea1o v\u00e0 c\u1ea5u h\u00ecnh reCAPTCHA v\u1edbi Google<\/h4>\n\n\n\n<p>Tr\u01b0\u1edbc ti\u00ean, b\u1ea1n c\u1ea7n c\u00f3 t\u00e0i kho\u1ea3n Google reCAPTCHA \u0111\u1ec3 l\u1ea5y API key. Th\u1ef1c hi\u1ec7n theo c\u00e1c b\u01b0\u1edbc sau:<\/p>\n\n\n\n<p>\u0110\u0103ng nh\u1eadp v\u00e0o Gmail, sau \u0111\u00f3 truy c\u1eadp<a href=\"https:\/\/www.google.com\/recaptcha\/admin\/create\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"> Google reCAPTCHA Admin Panel<\/a>.<\/p>\n\n\n\n<p>\u0110i\u1ec1n c\u00e1c th\u00f4ng tin c\u1ea7n thi\u1ebft trong form \u0111\u0103ng k\u00fd:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label: <\/strong>\u0110\u1eb7t t\u00ean cho reCAPTCHA.<\/li>\n\n\n\n<li><strong>Lo\u1ea1i reCAPTCHA: <\/strong>Ch\u1ecdn lo\u1ea1i ph\u00f9 h\u1ee3p v\u1edbi website c\u1ee7a b\u1ea1n (v2 ho\u1eb7c v3).<\/li>\n\n\n\n<li><strong>Domains: <\/strong>Nh\u1eadp t\u00ean mi\u1ec1n website. B\u1ea1n c\u00f3 th\u1ec3 th\u00eam nhi\u1ec1u t\u00ean mi\u1ec1n n\u1ebfu c\u1ea7n.<\/li>\n\n\n\n<li>Nh\u1ea5n<strong> Send <\/strong>\u0111\u1ec3 g\u1eedi<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-7.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin\" class=\"wp-image-115848\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-7.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-7-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Google s\u1ebd t\u1ea1o <strong>Site Key<\/strong> v\u00e0<strong> Secret Key.<\/strong> L\u01b0u l\u1ea1i \u0111\u1ec3 s\u1eed d\u1ee5ng trong b\u01b0\u1edbc ti\u1ebfp theo.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-5-1.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin\" class=\"wp-image-115849\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-5-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-5-1-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd: <\/strong>H\u01b0\u1edbng d\u1eabn n\u00e0y s\u1eed d\u1ee5ng reCAPTCHA v2, nh\u01b0ng n\u1ebfu mu\u1ed1n tr\u1ea3i nghi\u1ec7m t\u1ed1t h\u01a1n, b\u1ea1n n\u00ean d\u00f9ng reCAPTCHA v3 v\u00ec n\u00f3 ho\u1ea1t \u0111\u1ed9ng \u1ea9n v\u00e0 kh\u00f4ng y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng x\u00e1c minh th\u1ee7 c\u00f4ng.<\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_3:_C\u1ea5u_h\u00ecnh_reCAPTCHA_trong_WordPress\"><a id=\"post-115830-_tu6q9ioj6w9\"><\/a>B\u01b0\u1edbc 3: C\u1ea5u h\u00ecnh reCAPTCHA trong WordPress<\/h4>\n\n\n\n<p>Quay l\u1ea1i WordPress, v\u00e0o <strong>Settings<\/strong> \u2192 <strong>Advanced Google reCAPTCHA<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Trong tab <strong>Captcha<\/strong>, ch\u1ecdn lo\u1ea1i CAPTCHA t\u01b0\u01a1ng \u1ee9ng v\u1edbi lo\u1ea1i b\u1ea1n \u0111\u00e3 \u0111\u0103ng k\u00fd tr\u00ean Google.<\/li>\n\n\n\n<li>D\u00e1n<strong> Site Key<\/strong> v\u00e0 <strong>Secret Key<\/strong> v\u00e0o c\u00e1c \u00f4 t\u01b0\u01a1ng \u1ee9ng.<\/li>\n\n\n\n<li>Nh\u1ea5n <strong>Verify Captcha<\/strong> \u0111\u1ec3 ki\u1ec3m tra t\u00ednh h\u1ee3p l\u1ec7 c\u1ee7a API key.<\/li>\n\n\n\n<li>Nh\u1ea5n <strong>Save Changes<\/strong> \u0111\u1ec3 l\u01b0u thi\u1ebft l\u1eadp.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-6-1.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin\" class=\"wp-image-115850\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-6-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-6-1-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Chuy\u1ec3n \u0111\u1ebfn tab<strong> Where To Show<\/strong> v\u00e0 b\u1eadt <strong>reCAPTCHA<\/strong> t\u1ea1i c\u00e1c v\u1ecb tr\u00ed mong mu\u1ed1n nh\u01b0 trang \u0111\u0103ng nh\u1eadp, form b\u00ecnh lu\u1eadn, form \u0111\u0103ng k\u00fd, form li\u00ean h\u1ec7.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-8.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin\" class=\"wp-image-115851\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-8.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-8-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng Plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Nh\u1ea5n <strong>Save Changes<\/strong> \u0111\u1ec3 ho\u00e0n t\u1ea5t.<\/p>\n\n\n\n<p>Ki\u1ec3m tra l\u1ea1i b\u1eb1ng c\u00e1ch truy c\u1eadp trang web v\u00e0 th\u1eed \u0111\u0103ng nh\u1eadp ho\u1eb7c g\u1eedi form \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o reCAPTCHA ho\u1ea1t \u0111\u1ed9ng.<\/p>\n\n\n\n<h3 id=\"Th\u00eam_reCAPTCHA_v\u00e0o_WordPress_b\u1eb1ng_m\u00e3_ngu\u1ed3n_(Th\u1ee7_c\u00f4ng)\"><a id=\"post-115830-_qjj420qg311s\"><\/a><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)<\/strong><\/h3>\n\n\n\n<p>N\u1ebfu kh\u00f4ng mu\u1ed1n s\u1eed d\u1ee5ng plugin, b\u1ea1n c\u00f3 th\u1ec3 th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng c\u00e1ch ch\u1ec9nh s\u1eeda file functions.php c\u1ee7a theme. Tuy nhi\u00ean, ph\u01b0\u01a1ng ph\u00e1p n\u00e0y kh\u00f4ng ph\u00f9 h\u1ee3p cho ng\u01b0\u1eddi m\u1edbi v\u00ec c\u00f3 th\u1ec3 g\u00e2y l\u1ed7i n\u1ebfu thao t\u00e1c sai.<\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_1:_T\u1ea1o_t\u00e0i_kho\u1ea3n_Google_reCAPTCHA_v\u00e0_l\u1ea5y_API_Key_\"><a id=\"post-115830-_s13j9ruw3zi8\"><\/a>B\u01b0\u1edbc 1: T\u1ea1o t\u00e0i kho\u1ea3n Google reCAPTCHA v\u00e0 l\u1ea5y API Key <\/h4>\n\n\n\n<p>Th\u1ef1c hi\u1ec7n gi\u1ed1ng <strong>b\u01b0\u1edbc 2<\/strong> c\u1ee7a ph\u01b0\u01a1ng ph\u00e1p d\u00f9ng plugin.<\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_2:_Ch\u1ec9nh_s\u1eeda_file_functions.php_\u0111\u1ec3_th\u00eam_reCAPTCHA_\"><a id=\"post-115830-_x0pfdoju7rkj\"><\/a>B\u01b0\u1edbc 2: Ch\u1ec9nh s\u1eeda file functions.php \u0111\u1ec3 th\u00eam reCAPTCHA <\/h4>\n\n\n\n<p>\u0110\u0103ng nh\u1eadp v\u00e0o cPanel, ch\u1ecdn ph\u1ea7n <strong>File Manager<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-10.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)\" class=\"wp-image-115853\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-10.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-10-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>\u0110i\u1ec1u h\u01b0\u1edbng \u0111\u1ebfn th\u01b0 m\u1ee5c: \/wp-content\/themes\/t\u00ean_theme_c\u1ee7a_b\u1ea1n\/.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-11.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)\" class=\"wp-image-115852\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-11.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-11-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Nh\u1ea5p chu\u1ed9t ph\u1ea3i v\u00e0o file functions.php v\u00e0 ch\u1ecdn <strong>Edit<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-12.png\" alt=\"Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)\" class=\"wp-image-115854\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-12.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/06\/cach-them-recapcha-vao-wordpress-12-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Th\u00eam reCAPTCHA v\u00e0o WordPress b\u1eb1ng m\u00e3 ngu\u1ed3n (Th\u1ee7 c\u00f4ng)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Th\u00eam \u0111o\u1ea1n m\u00e3 sau v\u00e0o cu\u1ed1i file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ T\u1ea3i API Google reCAPTCHA tr\u00ean trang \u0111\u0103ng nh\u1eadp\n\nfunction login_style() {\n\nwp_register_script('login-recaptcha', 'https:\/\/www.google.com\/recaptcha\/api.js', false, NULL);\n\nwp_enqueue_script('login-recaptcha');\n\n}\n\nadd_action('login_enqueue_scripts', 'login_style');\n\n\/\/ Th\u00eam Google reCAPTCHA v\u00e0o trang \u0111\u0103ng nh\u1eadp\n\nfunction add_recaptcha_on_login_page() {\n\necho '&lt;div class=\"g-recaptcha\" data-sitekey=\"NH\u1eacP_SITE_KEY_C\u1ee6A_B\u1ea0N\">&lt;\/div>';\n\n}\n\nadd_action('login_form','add_recaptcha_on_login_page');<\/code><\/pre>\n\n\n\n<p>L\u01b0u \u00fd: Thay <strong>NH\u1eacP_SITE_KEY_C\u1ee6A_B\u1ea0N<\/strong> b\u1eb1ng Site Key c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p>Nh\u1ea5n <strong>Save Changes<\/strong> v\u00e0 ki\u1ec3m tra l\u1ea1i trang \u0111\u0103ng nh\u1eadp WordPress.<\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_3:_Th\u00eam_reCAPTCHA_v\u00e0o_form_b\u00ecnh_lu\u1eadn\"><a id=\"post-115830-_7twyjc6vgllh\"><\/a><strong>B\u01b0\u1edbc 3: Th\u00eam reCAPTCHA v\u00e0o form b\u00ecnh lu\u1eadn<\/strong><\/h4>\n\n\n\n<p>N\u1ebfu b\u1ea1n mu\u1ed1n ch\u1eb7n spam b\u00ecnh lu\u1eadn, h\u00e3y th\u00eam \u0111o\u1ea1n m\u00e3 sau v\u00e0o file functions.php:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Th\u00eam Google reCAPTCHA v\u00e0o form b\u00ecnh lu\u1eadn\n\nfunction add_google_recaptcha_to_comment_form() {\n\necho '&lt;script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer>&lt;\/script>';\n\necho '&lt;div class=\"g-recaptcha\" data-sitekey=\"NH\u1eacP_SITE_KEY_C\u1ee6A_B\u1ea0N\">&lt;\/div>';\n\n}\n\n\/\/ Ki\u1ec3m tra reCAPTCHA khi g\u1eedi b\u00ecnh lu\u1eadn\n\nfunction verify_google_recaptcha_comment($commentdata) {\n\n$recaptcha_response = $_POST&#91;'g-recaptcha-response'];\n\n$response = wp_remote_post(\n\n'https:\/\/www.google.com\/recaptcha\/api\/siteverify',\n\narray(\n\n'body' => array(\n\n'secret' => 'NH\u1eacP_SECRET_KEY_C\u1ee6A_B\u1ea0N',\n\n'response' => $recaptcha_response,\n\n),\n\n)\n\n);\n\n$data = json_decode(wp_remote_retrieve_body($response));\n\nif (!$data->success) {\n\nwp_die('X\u00e1c minh reCAPTCHA th\u1ea5t b\u1ea1i. Vui l\u00f2ng th\u1eed l\u1ea1i.');\n\n}\n\nreturn $commentdata;\n\n}\n\nadd_action('comment_form', 'add_google_recaptcha_to_comment_form');\n\nadd_filter('preprocess_comment', 'verify_google_recaptcha_comment');<\/code><\/pre>\n\n\n\n<p>L\u01b0u \u00fd: Thay <strong>NH\u1eacP_SITE_KEY_C\u1ee6A_B\u1ea0N<\/strong> v\u00e0 <strong>NH\u1eacP_SECRET_KEY_C\u1ee6A_B\u1ea0N<\/strong> b\u1eb1ng th\u00f4ng tin API c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p>Nh\u1ea5n <strong>Save Changes <\/strong>v\u00e0 ki\u1ec3m tra l\u1ea1i form b\u00ecnh lu\u1eadn tr\u00ean website.<\/p>\n\n\n\n<h3 id=\"K\u1ebft_lu\u1eadn\"><a id=\"post-115830-_unou3ljl9s80\"><\/a><strong>K\u1ebft lu\u1eadn<\/strong><\/h3>\n\n\n\n<p>T\u00f3m l\u1ea1i, reCAPTCHA l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 quan tr\u1ecdng gi\u00fap b\u1ea3o v\u1ec7 website WordPress kh\u1ecfi spam v\u00e0 c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng t\u1ef1 \u0111\u1ed9ng. D\u00f9 b\u1ea1n ch\u1ecdn c\u00e1ch s\u1eed d\u1ee5ng plugin hay th\u00eam reCAPTCHA th\u1ee7 c\u00f4ng b\u1eb1ng m\u00e3 ngu\u1ed3n, m\u1ed7i ph\u01b0\u01a1ng ph\u00e1p \u0111\u1ec1u c\u00f3 \u01b0u v\u00e0 nh\u01b0\u1ee3c \u0111i\u1ec3m ri\u00eang. Ch\u00fac b\u1ea1n th\u00e0nh c\u00f4ng!<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\"><a id=\"post-115830-_vcrlt5mxytun\"><\/a>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u00ean_ch\u1ecdn_reCAPTCHA_v2_hay_reCAPTCHA_v3_cho_WordPress?\">N\u00ean ch\u1ecdn reCAPTCHA v2 hay reCAPTCHA v3 cho WordPress?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<ul class=\"wp-block-list\">\n<li><strong>reCAPTCHA v2:<\/strong> Y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng x\u00e1c nh\u1eadn b\u1eb1ng h\u00ecnh \u1ea3nh ho\u1eb7c checkbox &#8220;T\u00f4i kh\u00f4ng ph\u1ea3i l\u00e0 ng\u01b0\u1eddi m\u00e1y&#8221;.<\/li>\n\n\n\n<li><strong>reCAPTCHA v3:<\/strong> Ho\u1ea1t \u0111\u1ed9ng t\u1ef1 \u0111\u1ed9ng, kh\u00f4ng y\u00eau c\u1ea7u t\u01b0\u01a1ng t\u00e1c t\u1eeb ng\u01b0\u1eddi d\u00f9ng.<\/li>\n<\/ul>\n\n\n\n<p>N\u1ebfu b\u1ea1n mu\u1ed1n c\u00f3 tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng t\u1ed1t h\u01a1n, reCAPTCHA v3 l\u00e0 l\u1ef1a ch\u1ecdn ph\u00f9 h\u1ee3p. Tuy nhi\u00ean, n\u1ebfu b\u1ea1n mu\u1ed1n ki\u1ec3m so\u00e1t ch\u1eb7t ch\u1ebd h\u01a1n, reCAPTCHA v2 v\u1eabn l\u00e0 m\u1ed9t l\u1ef1a ch\u1ecdn t\u1ed1t.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"reCAPTCHA_c\u00f3_\u1ea3nh_h\u01b0\u1edfng_\u0111\u1ebfn_hi\u1ec7u_su\u1ea5t_website_kh\u00f4ng?\">reCAPTCHA c\u00f3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn hi\u1ec7u su\u1ea5t website kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>Th\u00f4ng th\u01b0\u1eddng, t\u00e1c \u0111\u1ed9ng c\u1ee7a reCAPTCHA \u0111\u1ebfn hi\u1ec7u su\u1ea5t l\u00e0 r\u1ea5t nh\u1ecf. Tuy nhi\u00ean, n\u1ebfu s\u1eed d\u1ee5ng qu\u00e1 nhi\u1ec1u plugin ho\u1eb7c m\u00e3 kh\u00f4ng \u0111\u01b0\u1ee3c t\u1ed1i \u01b0u, website c\u00f3 th\u1ec3 b\u1ecb ch\u1eadm. \u0110\u1ec3 gi\u1ea3m thi\u1ec3u t\u00e1c \u0111\u1ed9ng, h\u00e3y s\u1eed d\u1ee5ng plugin nh\u1eb9 v\u00e0 t\u1ed1i \u01b0u h\u00f3a m\u00e3 ngu\u1ed3n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"reCAPTCHA_c\u00f3_mi\u1ec5n_ph\u00ed_kh\u00f4ng?\">reCAPTCHA c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>C\u00f3, Google cung c\u1ea5p reCAPTCHA mi\u1ec5n ph\u00ed. Tuy nhi\u00ean, n\u1ebfu b\u1ea1n c\u00f3 l\u01b0u l\u01b0\u1ee3ng truy c\u1eadp l\u1edbn v\u00e0 c\u1ea7n API n\u00e2ng cao, c\u00f3 th\u1ec3 c\u1ea7n \u0111\u0103ng k\u00fd g\u00f3i tr\u1ea3 ph\u00ed c\u1ee7a Google.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"T\u00f4i_c\u00f3_th\u1ec3_s\u1eed_d\u1ee5ng_reCAPTCHA_tr\u00ean_nhi\u1ec1u_website_kh\u00f4ng?\">T\u00f4i c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng reCAPTCHA tr\u00ean nhi\u1ec1u website kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>C\u00f3. Khi \u0111\u0103ng k\u00fd reCAPTCHA, b\u1ea1n c\u00f3 th\u1ec3 th\u00eam nhi\u1ec1u t\u00ean mi\u1ec1n v\u00e0o c\u00f9ng m\u1ed9t Site Key \u0111\u1ec3 s\u1eed d\u1ee5ng tr\u00ean nhi\u1ec1u website kh\u00e1c nhau.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u00ean ch\u1ecdn reCAPTCHA v2 hay reCAPTCHA v3 cho WordPress?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<ul><li><strong>reCAPTCHA v2:<\/strong> Y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng x\u00e1c nh\u1eadn b\u1eb1ng h\u00ecnh \u1ea3nh ho\u1eb7c checkbox \\\"T\u00f4i kh\u00f4ng ph\u1ea3i l\u00e0 ng\u01b0\u1eddi m\u00e1y\\\".<\/li><li><strong>reCAPTCHA v3:<\/strong> Ho\u1ea1t \u0111\u1ed9ng t\u1ef1 \u0111\u1ed9ng, kh\u00f4ng y\u00eau c\u1ea7u t\u01b0\u01a1ng t\u00e1c t\u1eeb ng\u01b0\u1eddi d\u00f9ng.<\/li><\/ul><p>N\u1ebfu b\u1ea1n mu\u1ed1n c\u00f3 tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng t\u1ed1t h\u01a1n, reCAPTCHA v3 l\u00e0 l\u1ef1a ch\u1ecdn ph\u00f9 h\u1ee3p. Tuy nhi\u00ean, n\u1ebfu b\u1ea1n mu\u1ed1n ki\u1ec3m so\u00e1t ch\u1eb7t ch\u1ebd h\u01a1n, reCAPTCHA v2 v\u1eabn l\u00e0 m\u1ed9t l\u1ef1a ch\u1ecdn t\u1ed1t.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"reCAPTCHA c\u00f3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn hi\u1ec7u su\u1ea5t website kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Th\u00f4ng th\u01b0\u1eddng, t\u00e1c \u0111\u1ed9ng c\u1ee7a reCAPTCHA \u0111\u1ebfn hi\u1ec7u su\u1ea5t l\u00e0 r\u1ea5t nh\u1ecf. Tuy nhi\u00ean, n\u1ebfu s\u1eed d\u1ee5ng qu\u00e1 nhi\u1ec1u plugin ho\u1eb7c m\u00e3 kh\u00f4ng \u0111\u01b0\u1ee3c t\u1ed1i \u01b0u, website c\u00f3 th\u1ec3 b\u1ecb ch\u1eadm. \u0110\u1ec3 gi\u1ea3m thi\u1ec3u t\u00e1c \u0111\u1ed9ng, h\u00e3y s\u1eed d\u1ee5ng plugin nh\u1eb9 v\u00e0 t\u1ed1i \u01b0u h\u00f3a m\u00e3 ngu\u1ed3n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"reCAPTCHA c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3, Google cung c\u1ea5p reCAPTCHA mi\u1ec5n ph\u00ed. Tuy nhi\u00ean, n\u1ebfu b\u1ea1n c\u00f3 l\u01b0u l\u01b0\u1ee3ng truy c\u1eadp l\u1edbn v\u00e0 c\u1ea7n API n\u00e2ng cao, c\u00f3 th\u1ec3 c\u1ea7n \u0111\u0103ng k\u00fd g\u00f3i tr\u1ea3 ph\u00ed c\u1ee7a Google.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"T\u00f4i c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng reCAPTCHA tr\u00ean nhi\u1ec1u website kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3. Khi \u0111\u0103ng k\u00fd reCAPTCHA, b\u1ea1n c\u00f3 th\u1ec3 th\u00eam nhi\u1ec1u t\u00ean mi\u1ec1n v\u00e0o c\u00f9ng m\u1ed9t Site Key \u0111\u1ec3 s\u1eed d\u1ee5ng tr\u00ean nhi\u1ec1u website kh\u00e1c nhau.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Trong th\u1eddi \u0111\u1ea1i s\u1ed1 h\u00f3a, b\u1ea3o m\u1eadt website l\u00e0 y\u1ebfu t\u1ed1 quan tr\u1ecdng gi\u00fap ng\u0103n ch\u1eb7n c\u00e1c cu\u1ed9c t\u1ea5n c\u00f4ng t\u1eeb bot v\u00e0 hacker. M\u1ed9t trong nh\u1eefng ph\u01b0\u01a1ng ph\u00e1p \u0111\u01a1n gi\u1ea3n nh\u01b0ng hi\u1ec7u qu\u1ea3 \u0111\u1ec3 b\u1ea3o v\u1ec7 trang web WordPress c\u1ee7a b\u1ea1n l\u00e0 s\u1eed d\u1ee5ng reCAPTCHA \u2013 c\u00f4ng c\u1ee5 ch\u1ed1ng spam m\u1ea1nh m\u1ebd do Google [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":115855,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7367],"tags":[6154],"class_list":["post-115830","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-co-ban","tag-kien-thuc-wordpress"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/115830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=115830"}],"version-history":[{"count":3,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/115830\/revisions"}],"predecessor-version":[{"id":115859,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/115830\/revisions\/115859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/115855"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=115830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=115830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=115830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}