
內容簡介
Admin Robots.txt Editor 是一款安全的 WordPress 外掛,提供用戶在控制台中編輯網站的 robots.txt 檔案,簡化了網站對搜尋引擎的可見性管理。
【主要功能】
• 從控制台編輯並儲存 robots.txt 檔案
• 重置檔案為 WordPress 預設值
• 支援 WordPress 內建的 robots_txt 過濾器
• 使用 WordPress 的非同步請求和權限檢查
• 提供預設的 WordPress 網站地圖 URL
• 當搜尋引擎可見性關閉時,防止公開 robots 檔案被爬取
外掛標籤
開發者團隊
原文外掛簡介
Admin Robots.txt Editor provides a secure WordPress admin interface for editing the site’s robots.txt file.
The plugin supports both:
A physical robots.txt file in the WordPress installation root.
WordPress’s built-in robots_txt filter when a physical file does not exist.
Features:
Edit and save robots.txt from the WordPress dashboard.
Reset the file to a sensible WordPress default.
Uses the official WordPress robots_txt filter.
Uses WordPress nonces and capability checks.
Uses the WordPress filesystem API with a controlled fallback.
Provides a default WordPress sitemap URL.
Prevents a public robots file from allowing crawling when WordPress search-engine visibility is disabled.
