{"id":226,"date":"2013-07-17T07:46:00","date_gmt":"2013-07-17T07:46:00","guid":{"rendered":"https:\/\/kiencang.net\/2013\/07\/17\/cung-tim-hieu-file-robots-txt-ke-dan-duong-chi-loi-cho-bo-tim-kiem\/"},"modified":"2021-10-17T05:34:08","modified_gmt":"2021-10-16T22:34:08","slug":"cung-tim-hieu-file-robots-txt-ke-dan-duong-chi-loi-cho-bo-tim-kiem","status":"publish","type":"post","link":"https:\/\/kiencang.net\/cung-tim-hieu-file-robots-txt-ke-dan-duong-chi-loi-cho-bo-tim-kiem\/","title":{"rendered":"C\u00f9ng t\u00ecm hi\u1ec3u file robots.txt – k\u1ebb d\u1eabn \u0111\u01b0\u1eddng ch\u1ec9 l\u1ed1i cho b\u1ecd t\u00ecm ki\u1ebfm"},"content":{"rendered":"\n

Robots.txt kh\u00f4ng ph\u1ea3i l\u00e0 m\u1ed9t file HTML, ch\u1eb3ng c\u00f3 t\u00ed code HTML n\u00e0o c\u1ea3, th\u1ef1c ra nh\u00ecn v\u00e0o \u0111u\u00f4i .txt th\u00ec b\u1ea1n \u0111\u00e3 \u0111\u1ee7 r\u00f5, n\u00f3 ch\u1ec9 l\u00e0 file text r\u1ea5t \u0111\u01a1n gi\u1ea3n nh\u01b0ng l\u1ea1i v\u00f4 c\u00f9ng quan tr\u1ecdng v\u1edbi m\u1ed9t trang web.<\/p>\n\n\n\n\n\n\n\n

Robots.txt l\u00e0 file m\u00e0 b\u1ea5t k\u1ef3 b\u1ecd t\u00ecm ki\u1ebfm n\u00e0o nh\u01b0 Google, Bing, Yahoo… ph\u1ea3i \u0111\u1ecdc tr\u01b0\u1edbc khi l\u1ee5c l\u1ecdi \u0111\u1ec3 l\u1eadp ch\u1ec9 m\u1ee5c trang web. N\u00f3 gi\u1ed1ng ki\u1ec3u b\u1ea3ng n\u1ed9i quy v\u00e0 h\u01b0\u1edbng d\u1eabn trong \u0111\u00f3 ghi: n\u00e0y m\u1ea5y b\u1ecd t\u00ecm ki\u1ebfm, c\u00e1c ch\u00fa ch\u1ec9 \u0111\u01b0\u1ee3c v\u00e0o nh\u1eefng khu v\u1ef1c n\u00e0y c\u1ee7a anh, nh\u1eefng khu v\u1ef1c kia th\u00ec kh\u00f4ng \u0111\u01b0\u1ee3c v\u00e0o nh\u00f2m ng\u00f3. Robots.txt c\u0169ng cho ph\u00e9p b\u1ea1n ch\u1eb7n h\u1eb3n m\u1ed9t s\u1ed1 b\u1ecd t\u00ecm ki\u1ebfm m\u00e0 b\u1ea1n kh\u00f4ng th\u00edch ho\u1eb7c th\u1ea5y kh\u00f4ng c\u1ea7n thi\u1ebft.<\/p>\n\n\n\n

\u0110\u1ebfn \u0111\u00e2y b\u1ea1n t\u1ef1 h\u1ecfi, th\u1ebf l\u1ee3i \u00edch c\u1ee7a Robots.txt l\u00e0 g\u00ec v\u1eady? V\u00e0 d\u01b0\u1edbi \u0111\u00e2y l\u00e0 c\u00e2u tr\u1ea3 l\u1eddi:<\/p>\n\n\n\n