WordPress用のrobots.txtを設定してみた
WordPress用にrobots.txtを見直してみました。
こちらの記事を参考にしました。結果、こんな風に設定しました↓
User-agent: * Disallow: /wp-admin Disallow: /wp-content/backup-47b4a Disallow: /wp-content/cache Disallow: /wp-content/languages Disallow: /wp-content/plugins Disallow: /wp-content/themes Disallow: /wp-content/upgrade Allow: /wp-content/uploads Disallow: /wp-content/w3tc Disallow: /wp-includes Disallow: /trackback Disallow: /comments Disallow: /archives/tag/* Disallow: /archives/category/* Disallow: */trackback Disallow: */comments Disallow: /*?* Disallow: /*? Disallow: /*.php$ Disallow: /*.js$ Disallow: /*.inc$ Disallow: /*.css$ Disallow: /*.gz$ Disallow: /*.wmv$ Disallow: /*.cgi$ Disallow: /*.xhtml$ # allow google image bot to search all images User-agent: Googlebot-Image Disallow: Allow: /* # allow Google adsense bot on entire site User-agent: Mediapartners-Google* Disallow: Allow: /* # BEGIN XML-SITEMAP-PLUGIN Sitemap: http://www.minimini-daisakusen.com/sitemap.xml # END XML-SITEMAP-PLUGIN
こちらの記事もあわせてどうぞ
- WordPressでxmlサイトマップを自動生成するプラグイン「Google XML Sitemaps」
- WordPressの高速化まとめ
- WordPressでサイトマップを自動作成するプラグイン「PS Auto Sitemap」
- Google Libraries APIを利用してWordPressを高速化するプラグイン「Use Google Libraries」
- WordPressで記事の関連記事を表示するプラグイン「Yet Another Related Posts Plugin」
- WordPressで記事を読むのにかかる所要時間を表示する方法
- WordPressの表示を高速化するプラグイン「W3 Total Cache」
No Comments