Hum trước em có Backup 1 website sang VPS google cloud - bằng VPSSIM. Nay em kiểm tra mới để ý file Robots.txt trong thư mục gốc hoàn toàn bị ghi đè bởi 1 file robots.txt mới. Trong khi file robots.txt cũ vẫn còn nằm nguyên trong public_html . Hix
VPS SIMPLE
Em có thể nói kỹ hơn không >? Anh không hiểu ý của em.
Em dùng plugin cache gì vậy ?
Em xài WP Super Cache ạ
Bình thường , domain.com/robots.txt nó sẽ ra đoạn code e đặt trong file robots.txt ví dụ như : User-agent: *
File robots.txt này là mặc định của VPSSIM khi em thêm website mới vào VPS nhé. Sau khi thêm website xong, em phải edit lại robots.txt nếu không muốn dùng nó.jaykay wrote: ↑19 Nov 2018 14:38Bình thường , domain.com/robots.txt nó sẽ ra đoạn code e đặt trong file robots.txt ví dụ như : User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins
Nhưng nay em vào nó hiện 1 rổ block bot như này : User-agent: Teleport
Disallow: /
User-agent: TeleportPro
Disallow: /
User-agent: EmailCollector
Disallow: /
User-agent: EmailSiphon
Disallow: /
User-agent: WebBandit
Disallow: /
User-agent: WebZIP
Disallow: /
User-agent: WebReaper
Disallow: /
- Tức là file robots.txt của e đã bị thay thế bằng file mới này .
Nếu em dùng plugin WP Super Cache, em vào phần cài đặt của nó, chọn clear cache mỗi khi post bài mới là đượcjaykay wrote: ↑19 Nov 2018 14:35Em xài WP Super Cache ạ