{"id":26525,"date":"2022-09-05T12:31:58","date_gmt":"2022-09-05T05:31:58","guid":{"rendered":"https:\/\/doc.bnix.vn\/?p=26525"},"modified":"2022-09-05T23:15:38","modified_gmt":"2022-09-05T16:15:38","slug":"huong-dan-cai-dat-google-recaptcha-de-chan-spam","status":"publish","type":"post","link":"https:\/\/doc.bnix.vn\/huong-dan-cai-dat-google-recaptcha-de-chan-spam\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t google recaptcha \u0111\u1ec3 ch\u1eb7n spam"},"content":{"rendered":"\n\n
\n \n
\n \n
\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n <\/div>\n \n
\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n <\/div>\n<\/div>\n \n\n
\n 5\/5 - (2 b\u00ecnh ch\u1ecdn) <\/div>\n <\/div>\n\n

H\u00f4m nay ch\u00fang t\u00f4i xin h\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t google recaptcha \u0111\u1ec3 ch\u1eb7n spam tr\u00ean website wordpress. Nh\u01b0ng tr\u01b0\u1edbc h\u1ebft ch\u00fang ta s\u1ebd c\u00f9ng t\u00ecm hi\u1ec3u qua spam \u1edf \u0111\u00e2y l\u00e0 g\u00ec, google recaptcha l\u00e0 g\u00ec, r\u1ed3i m\u1edbi ti\u1ebfn h\u00e0nh c\u00e0i n\u00f3 l\u00ean web.<\/p>\n\n\n\n

Spam l\u00e0 g\u00ec?<\/h2>\n\n\n\n

Spam \u1edf \u0111\u00e2y l\u00e0 ch\u1ec9 t\u00ecnh tr\u1ea1ng website b\u1ecb comment r\u00e1c li\u00ean t\u1ee5c, \u0111\u0103ng k\u00fd t\u00e0i kho\u1ea3n li\u00ean t\u1ee5c. M\u00e0 nh\u1eefng vi\u1ec7c n\u00e0y \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n b\u1edfi nh\u1eefng tool, bot. Ch\u00fang th\u1ef1c hi\u1ec7n vi\u1ec7c n\u00e0y \u0111\u1ec3 \u0111\u1eb7t link v\u00e0o b\u00e0i vi\u1ebft c\u1ee7a ch\u00fang ta th\u00f4ng qua nh\u1eefng comment nh\u1eb1m t\u1ea1o backlink v\u1ec1 web c\u1ee7a ch\u00fang.<\/p>\n\n\n\n

Khi web c\u00f3 comment, h\u1ec7 th\u1ed1ng mail s\u1ebd g\u1eedi th\u00f4ng b\u00e1o cho admin, v\u00e0 th\u1eadm ch\u00ed m\u1ed9t v\u00e0i tr\u01b0\u1eddng h\u1ee3p c\u00f2n g\u1eedi mail x\u00e1c nh\u1eadn cho t\u00e0i kho\u1ea3n v\u1eeba comment \u0111\u00f3. <\/p>\n\n\n\n

Admin nh\u1eadn mail th\u00ec kh\u00f4ng sao, ng\u1ed9p mail th\u00f4i, nh\u01b0ng nhi\u1ec1u qu\u00e1 m\u00e0 kh\u00f4ng \u0111\u1ecdc th\u00ec email s\u1ebd b\u1ecb v\u00e0o spam\/qu\u1ea3ng c\u00e1o, sau n\u00e0y vi\u1ec7c ki\u1ec3m tra th\u00f4ng tin t\u1eeb h\u1ec7 th\u1ed1ng s\u1ebd kh\u00f4ng \u0111\u01b0\u1ee3c n\u1eefa.<\/p>\n\n\n\n

C\u00f2n tr\u01b0\u1eddng h\u1ee3p g\u1eedi v\u00e0o mail kh\u00f4ng t\u1ed3n t\u1ea1i (mail s\u1eed d\u1ee5ng \u0111\u1ec3 spam comment) th\u00ec h\u1ec7 th\u1ed1ng email c\u1ee7a ch\u00fang ta c\u00f3 th\u1ec3 b\u1ecb ch\u1eb7n lu\u00f4n, h\u1eadu qu\u1ea3 l\u00e0 sau n\u00e0y kh\u00f4ng g\u1eedi \u0111\u01b0\u1ee3c mail n\u1eefa, v\u00e0 n\u1eb7ng h\u01a1n l\u00e0 IP web ch\u00fang ta b\u1ecb li\u1ec7t v\u00e0o blacklist, \u1ea3nh h\u01b0\u1edbng \u0111\u1ebfn SEO web.<\/p>\n\n\n\n

C\u00e1ch h\u1ea1n ch\u1ebf t\u1ed1i \u0111a vi\u1ec7c n\u00e0y l\u00e0 s\u1eed d\u1ee5ng Google recaptcha \u0111\u1ec3 ch\u1eb7n m\u1ea5y c\u00e1i tool n\u00e0y.<\/p>\n\n\n\n

Google Recaptcha l\u00e0 g\u00ec?<\/h2>\n\n\n\n

CAPTCHA l\u00e0 g\u00ec?<\/strong><\/h3>\n\n\n\n

CAPTCHA l\u00e0 vi\u1ebft t\u1eaft c\u1ee7a Complete Automated Public Turing \u2013 m\u1ed9t ch\u01b0\u01a1ng tr\u00ecnh m\u00e1y t\u00ednh \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 ph\u00e2n bi\u1ec7t gi\u1eefa m\u00e1y t\u00ednh v\u00e0 con ng\u01b0\u1eddi<\/strong>.<\/p>\n\n\n

\n
\"\"<\/figure><\/div>\n\n\n

C\u00e1i t\u00ean CAPTCHA \u0111\u01b0\u1ee3c \u0111\u1eb7t v\u00e0o n\u0103m 2003, l\u00e0 tr\u1ee3 th\u1ee7 \u0111\u1eafc l\u1ef1c c\u1ee7a website gi\u00fap m\u00e1y t\u00ednh x\u00e1c minh r\u1eb1ng c\u00e1c giao d\u1ecbch \u0111\u01b0\u1ee3c thao t\u00e1c b\u1edfi con ng\u01b0\u1eddi ch\u1ee9 kh\u00f4ng ph\u1ea3i bot.<\/p>\n\n\n\n

CAPTCHA th\u1ef1c hi\u1ec7n \u0111i\u1ec1u n\u00e0y b\u1eb1ng c\u00e1ch y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng click v\u00e0o m\u1ed9t h\u1ed9p checkbox l\u00e0 nh\u1eefng ch\u1eef c\u00e1i, t\u1eeb ho\u1eb7c s\u1ed1 ng\u1eabu nhi\u00ean \u0111\u01b0\u1ee3c l\u00e0m m\u00e9o \u0111i v\u00e0 nh\u1eadp l\u1ea1i v\u1edbi nhau. Tuy nhi\u00ean CAPTCHA s\u1ebd tr\u1edf n\u00ean kh\u00f3 kh\u0103n v\u1edbi m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p nh\u01b0 c\u00e1c d\u00f2ng ch\u1eef c\u00e1i r\u1ea5t kh\u00f3 \u0111\u1ecdc v\u00e0 ph\u00e2n bi\u1ec7t.<\/p>\n\n\n\n

reCAPTCHA l\u00e0 g\u00ec?<\/h3>\n\n\n
\n
\"\"<\/figure><\/div>\n\n\n

reCAPTCHA l\u00e0 m\u1ed9t d\u1ecbch v\u1ee5 CAPTCHA mi\u1ec5n ph\u00ed tr\u00ean Google h\u1ed7 tr\u1ee3 website v\u00e0 c\u00e1c bi\u1ec3u m\u1eabu ch\u1ed1ng l\u1ea1i SPAM, c\u00e1c \u0111\u0103ng k\u00fd \u0111\u1ed9c h\u1ea1i, ho\u1eb7c c\u00e1c h\u00ecnh th\u1ee9c t\u1ea5n c\u00f4ng ngo\u1ea1i vi kh\u00e1c<\/strong>.<\/p>\n\n\n\n

Giao di\u1ec7n c\u1ee7a reCAPTCHA kh\u00e1 \u0111\u01a1n gi\u1ea3n v\u00e0 d\u1ec5 d\u00e0ng th\u00eam v\u00e0o blog, website.<\/p>\n\n\n\n

N\u0103m 2007, c\u00f4ng ngh\u1ec7 reCAPTCHA ch\u00ednh th\u1ee9c \u0111\u01b0\u1ee3c ra m\u1eaft ng\u01b0\u1eddi d\u00f9ng. C\u00f4ng ngh\u1ec7 n\u00e0y ho\u1ea1t \u0111\u1ed9ng b\u1eb1ng c\u00e1ch hi\u1ec3n th\u1ecb nh\u1eefng c\u1ee5m t\u1eeb ng\u1eabu nhi\u00ean v\u00e0 y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng nh\u1eadp l\u1ea1i \u0111\u1ec3 ki\u1ec3m tra. K\u1ebft qu\u1ea3 m\u00e0 ng\u01b0\u1eddi d\u00f9ng nh\u1eadp v\u00e0o s\u1ebd \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng h\u1ed7 tr\u1ee3 qu\u00e1 tr\u00ecnh s\u1ed1 h\u00f3a gi\u00fap cho vi\u1ec7c ki\u1ec3m tra x\u00e1c minh hi\u1ec7u qu\u1ea3 h\u01a1n.<\/p>\n\n\n\n

Google cho ra m\u1eaft phi\u00ean b\u1ea3n reCAPTCHA v2 v\u1edbi b\u00e0i test l\u00e0 m\u1ed9t khung checkbox \u201cI\u2019m not a robot<\/em>\u201d v\u00e0 nh\u1eefng h\u00ecnh \u1ea3nh y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng nh\u1ea5p ch\u1ecdn ch\u00ednh x\u00e1c.<\/p>\n\n\n

\n
\"\"<\/figure><\/div>\n\n\n

C\u00e1c h\u00ecnh \u1ea3nh y\u00eau c\u1ea7u ch\u1ecdn \u0111\u00fang theo m\u00f4 t\u1ea3 t\u00f9y theo y\u00eau c\u1ea7u c\u1ee7a b\u00e0i ki\u1ec3m tra. V\u00ed d\u1ee5 nh\u01b0 ch\u1ecdn c\u00e1c \u1ea3nh c\u00f3 ch\u1ee9a qu\u1ea3 cam, c\u00e1i c\u1ed1c, \u00f4 t\u00f4, t\u00e0u ho\u1ea3, con m\u00e8o, bi\u1ec3n b\u00e1o,\u2026<\/p>\n\n\n\n

D\u01b0\u1edbi \u0111\u00e2y l\u00e0 v\u00ed d\u1ee5 ch\u1ecdn h\u00ecnh \u1ea3nh c\u00f3 li\u00ean quan \u0111\u1ebfn qu\u1ea3 cam.<\/p>\n\n\n

\n
\"\"<\/figure><\/div>\n\n\n

Phi\u00ean b\u1ea3n reCAPTCHA ver3 \u0111\u01b0\u1ee3c c\u1ea3i ti\u1ebfn h\u01a1n so v\u1edbi ver2. Kh\u00f4ng c\u00f2n y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng nh\u1eadn d\u1ea1ng h\u00ecnh \u1ea3nh hay k\u00fd t\u1ef1 ng\u1eabu nhi\u00ean, Google \u0111\u01b0a ra m\u1ed9t thang \u0111i\u1ec3m t\u1eeb 0 \u0111\u1ebfn 1. Thang \u0111i\u1ec3m t\u0103ng gi\u1ea3m l\u00e0 c\u00e1ch x\u00e1c minh xem \u0111\u00f3 l\u00e0 con ng\u01b0\u1eddi hay robot. D\u01b0\u1edbi 0 \u0111i\u1ec3m th\u00ec \u0111\u00f3 l\u00e0 robot, tr\u00ean 1 s\u1ebd l\u00e0 con ng\u01b0\u1eddi.<\/p>\n\n\n\n

C\u00e1ch c\u1ea5u h\u00ecnh Google Recaptcha v\u00e0o website<\/h2>\n\n\n\n

B\u01b0\u1edbc 1: C\u00e0i \u0111\u1eb7t plugin<\/h3>\n\n\n\n

\u0110\u1ec3 c\u00e0i \u0111\u1eb7t plugin, c\u00e1c b\u1ea1n \u0111\u0103ng nh\u1eadp v\u00e0o t\u00e0i kho\u1ea3n qu\u1ea3n tr\u1ecb. R\u1ed3i ch\u1ecdn Plugin -> C\u00e0i m\u1edbi<\/strong><\/p>\n\n\n

\n
\"\"<\/figure><\/div>\n\n\n

Sau \u0111\u00f3 g\u00f5 Invisible reCaptcha<\/strong> v\u00e0o \u00f4 t\u00ecm ki\u1ebfm. R\u1ed3i c\u00e0i plugin c\u00f3 t\u00ean l\u00e0 Invisible reCaptcha for WordPress<\/strong> c\u1ee7a t\u00e1c gi\u1ea3 Mihai Chelaru<\/em>.<\/strong> Tuy b\u1ea3n n\u00e0y 2 n\u0103m ch\u01b0a c\u1eadp nh\u1eadt, nh\u01b0ng m\u00ecnh \u0111\u00e1nh gi\u00e1 cao plugin n\u00e0y \u1edf t\u00ednh n\u0103ng thi\u1ebft th\u1ef1c c\u1ee7a n\u00f3<\/p>\n\n\n

\n
\"\"<\/figure><\/div>\n\n\n

B\u01b0\u1edbc 2: L\u1ea5y m\u00e3 Google recaptcha<\/h3>\n\n\n\n

\u0110\u1ec3 l\u1ea5y m\u00e3 google recaptcha, c\u00e1c b\u1ea1n truy c\u1eadp v\u00e0o link sau: https:\/\/www.google.com\/recaptcha\/admin\/create<\/a><\/p>\n\n\n\n

Sau \u0111\u00f3 \u0111i\u1ec1n th\u00f4ng tin t\u00ean mi\u1ec1n c\u1ee7a m\u00ecnh v\u00e0o (xem v\u00ed d\u1ee5 trong h\u00ecnh)<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Sau khi b\u1ea5m submit, google s\u1ebd tr\u1ea3 v\u1ec1 cho b\u1ea1n 2 m\u00e3 l\u00e0 Site Key v\u00e0 Secret Key nh\u01b0 h\u00ecnh b\u00ean d\u01b0\u1edbi. H\u00e3y copy n\u00f3 nh\u00e9.<\/p>\n\n\n

\n
\"\"<\/figure><\/div>\n\n\n

B\u01b0\u1edbc 3: C\u1ea5u h\u00ecnh plugin<\/h3>\n\n\n\n

Sau khi \u0111\u00e3 t\u1ea1o m\u00e3 xong, ch\u00fang ta v\u00e0o C\u00e0i \u0111\u1eb7t -> Invisible reCaptcha<\/strong> \u0111\u1ec3 ti\u1ebfn h\u00e0nh c\u1ea5u h\u00ecnh. <\/p>\n\n\n\n

1. Tab Settings<\/h4>\n\n\n\n

\u1ede tab setting, c\u00e1c b\u1ea1n \u0111i\u1ec1n m\u00e3 recaptcha t\u01b0\u01a1ng \u1ee9ng v\u00e0o 2 \u00f4 nh\u01b0 b\u00ean d\u01b0\u1edbi r\u1ed3i b\u1ea5m L\u01b0u thay \u0111\u1ed5i.<\/strong><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Ti\u1ebfp theo l\u00e0 b\u1eadt recaptcha cho c\u00e1c n\u01a1i. <\/p>\n\n\n\n

2. Tab WordPress<\/strong>:<\/h4>\n\n\n\n

T\u1ea1i \u0111\u00e2y ta b\u1eadt h\u1ebft m\u1ea5y c\u00e1i n\u00e0y, v\u00ec m\u1ea5y c\u00e1i n\u00e0y l\u00e0 n\u01a1i c\u01a1 b\u1ea3n nh\u1ea5t c\u1ee7a web<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Gi\u1ea3i th\u00edch c\u00e1c tu\u1ef3 ch\u1ecdn:<\/p>\n\n\n\n

  • Enable Login Form Protection<\/strong>: B\u1ea3o v\u1ec7 \u1edf ph\u1ea7n \u0111\u0103ng nh\u1eadp<\/li>
  • Enable Registration Form Protection<\/strong>: B\u1ea3o v\u1ec7 \u1edf ph\u1ea7n \u0111\u0103ng k\u00fd th\u00e0nh vi\u00ean<\/li>
  • Enable Comments Form Protection<\/strong>: B\u1ea3o v\u1ec7 \u1edf ph\u1ea7n comment<\/li>
  • Enable Forgot Password Form Protection<\/strong>: B\u1ea3o v\u1ec7 \u1edf ph\u1ea7n qu\u00ean m\u1eadt kh\u1ea9u<\/li><\/ul>\n\n\n\n

    3. Tab Contact Forms<\/h4>\n\n\n\n

    N\u1ebfu c\u00e1c b\u1ea1n c\u00f3 x\u00e0i contact form 7\/Gravity Forms, th\u00ec ch\u00fang ta ch\u1ecdn ti\u1ebfp tab Contact Forms<\/strong>. Tick v\u00e0o c\u00e1i m\u00ecnh \u0111ang d\u00f9ng, r\u1ed3i ch\u1ecdn L\u01b0u thay \u0111\u1ed5i<\/strong>. Nh\u01b0 v\u1eady l\u00e0 xong<\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n

    4. Tab Woocommerce<\/h4>\n\n\n\n

    N\u1ebfu web b\u1ea1n \u0111ang x\u00e0i woocommerce \u0111\u1ec3 b\u00e1n h\u00e0ng, th\u00ec n\u00ean s\u1eed d\u1ee5ng th\u00eam tab n\u00e0y. C\u0169ng tick v\u00e0o c\u00e1c n\u01a1i c\u1ea7n b\u1ea3o v\u1ec7,r\u1ed3i ch\u1ecdn L\u01b0u thay \u0111\u1ed5i<\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n

    Gi\u1ea3i th\u00edch c\u00e1c tu\u1ef3 ch\u1ecdn:<\/p>\n\n\n\n

    • Enable Login Form Protection<\/strong>: b\u1ea3o v\u1ec7 \u1edf ph\u1ea7n \u0111\u0103ng nh\u1eadp<\/li>
    • Enable Registration Form Protection<\/strong>: b\u1ea3o v\u1ec7 ph\u1ea7n \u0111\u0103ng k\u00fd th\u00e0nh vi\u00ean<\/li>
    • Enable Lost Password Form Protection:<\/strong> b\u1ea3o v\u1ec7 ph\u1ea7n qu\u00ean m\u1eadt kh\u1ea9u<\/li>
    • Enable Reset Password Form Protection:<\/strong> b\u1ea3o v\u1ec7 \u1edf ph\u1ea7n thay \u0111\u1ed5i m\u1eadt kh\u1ea9u<\/li>
    • Enable Product Review Form Protection:<\/strong> b\u1ea3o v\u1ec7 \u1edf ph\u1ea7n \u0111\u00e1nh gi\u00e1 s\u1ea3n ph\u1ea9m<\/li><\/ul>\n\n\n\n

      Ch\u1ec9 c\u1ea7n c\u1ea5u h\u00ecnh google recaptcha v\u00e0o web l\u00e0 m\u00ecnh s\u1ebd ch\u1eb7n \u0111\u01b0\u1ee3c 99% spam r\u1ed3i. Ch\u00fac c\u00e1c b\u1ea1n th\u1ef1c hi\u1ec7n th\u00e0nh c\u00f4ng. H\u00e3y \u0111\u1ec3 l\u1ea1i comment n\u1ebfu b\u1ea1n c\u1ea7n h\u1ed7 tr\u1ee3!<\/p>\n","protected":false},"excerpt":{"rendered":"

      H\u00f4m nay ch\u00fang t\u00f4i xin h\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t google recaptcha \u0111\u1ec3 ch\u1eb7n spam…<\/p>\n","protected":false},"author":3,"featured_media":26530,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[224,225,52],"tags":[243,244],"class_list":["post-26525","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-huong-dan-su-dung","category-wordpress","tag-chan-spam","tag-google-recaptcha"],"_links":{"self":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/posts\/26525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/comments?post=26525"}],"version-history":[{"count":0,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/posts\/26525\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/media\/26530"}],"wp:attachment":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/media?parent=26525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/categories?post=26525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/tags?post=26525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}