User-agent: * # 允许媒体文件访问 Allow: /wp-content/uploads/ # 允许媒体文件 # 核心禁止规则 Disallow: /wp-admin/ #禁止后台管理 Disallow: /wp-includes/ #禁止核心系统文件 Disallow: /wp-content/plugins/ #禁止插件目录 Disallow: /wp-content/themes/ #禁止主题目录 Disallow: /wp-login.php #禁止登录页 Disallow: /wp-register.php #禁止注册页 Disallow: /readme.html #禁止查看WordPress版本信息 Disallow: /license.txt #禁止查看许可证 Disallow: /wp-config-sample.php #禁止配置示例 Disallow: /?s= #禁止站内搜索 Disallow: /search/ #禁止伪静态搜索页面 Disallow: /trackback/ #禁止trackback垃圾 Disallow: /feed #禁止主RSS feed Disallow: /*/feed #禁止所有feed Disallow: /comments/feed #禁止评论feed Disallow: /attachment/ #禁止图片附件页 Disallow: /?replytocom= #禁止评论回复链接 Disallow: /category/*/page/ #禁止分类分页 Disallow: /tag/*/page/ #禁止标签分页 Disallow: /*/page/ #禁用通用分页 # 允许资源文件访问 Allow: *.js # 允许JavaScript文件 Allow: *.css # 允许CSS样式文件 # 站点地图声明 Sitemap: https://663369.xyz/sitemap.xml #sitemap.xml Sitemap: https://663369.xyz/post-sitemap.xml #post-sitemap.xml Sitemap: https://663369.xyz/page-sitemap.xml #page-sitemap.xml Sitemap: https://663369.xyz/category-sitemap.xml #category-sitemap.xml Sitemap: https://663369.xyz/tag-sitemap.xml #tag-sitemap.xml