Create a perfectly formatted robots.txt file in seconds with our visual builder — or validate your existing one for mistakes that could be silently blocking Google from your site.
Used to auto-fill the Sitemap URL.
# Loading preview…
特定の URL がこれらのルールによって許可されるかブロックされるかをテストします。
A robots.txt ファイル Web サイトのルートに配置されるプレーンテキスト ファイル (例: https://yoursite.com/robots.txt). It instructs search engine crawlers — like Googlebot — which pages or sections of your site they should or should not crawl and index.
robots.txt はプライバシーを保証しませんが (他のサイトからリンクされている場合、ブロックされたページが検索結果に表示される可能性があります)、管理のための主要なツールです。 クロールの予算 — how much of your site Google explores per day. Used correctly, it helps Google focus its crawling on the pages that actually matter for your rankings.
For WordPress sites specifically, a well-configured robots.txt prevents Googlebot from wasting time on admin pages, login screens, and internal search results — directing that crawl budget toward your content instead.
# Allow all crawlers, block admin User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php # Block bad bots entirely User-agent: AhrefsBot Disallow: / # Sitemap location Sitemap: https://yoursite.com/sitemap.xml
WordPress はデフォルトでは robots.txt を作成しません。最適な SEO のために追加すべきものは次のとおりです。
上の「WordPress」テンプレートを選択し、サイトの URL を入力すると、適切なルールがすべて事前に入力された robots.txt が即座に生成されます。
生成された robots.txt ファイルをダウンロードし、FTP、cPanel ファイル マネージャー、またはホストのファイル マネージャーを使用してサイトのルート ディレクトリにアップロードします。
SkySEOManager has a built-in robots.txt editor and validator under its Tools section. Paste your generated content there directly.
プロのヒント: 変更するたびに検証する
After uploading or editing your robots.txt, always run it through our validator above to check for mistakes. A single typo — like Disallow: / — can block your entire site from Google overnight.
These are the most common errors our validator catches — and the ones most likely to quietly kill your Google rankings.
A Disallow: / 下 User-agent: * blocks Googlebot from your entire site. This is the single most catastrophic robots.txt mistake — and it happens more often than you'd think during site builds.
不許可 /wp-content/ prevents Google from loading your stylesheets and scripts. Google renders pages like a browser — if it can't load CSS/JS, it can't properly evaluate your content for rankings.
を含まない Sitemap: このディレクティブは、Google が Search Console の送信を通じてのみサイトマップを検出する必要があることを意味します。これを robots.txt に追加すると、Googlebot がすべてのページをより速く見つけられるようになり、簡単に成功します。
Linux サーバーでは、Robots.txt のパスでは大文字と小文字が区別されます。 Disallow: /Admin/ ブロックしません /admin/。実際の URL パスの大文字と小文字を常に正確に使用してください。
サイト全体の SEO を修正する
Once your robots.txt allows Google to crawl your site, make sure every page is optimised. SkySEOManager Pro bulk-generates titles, meta descriptions, and image alt text across your entire WordPress site — powered by Gemini AI.
Disallow: /wp-admin/ クローラーが SEO 価値のない管理ページでクロール予算を無駄に消費するのを防ぎます。ただし、必ず追加してください Allow: /wp-admin/admin-ajax.php 次の行では、AJAX に依存する機能 (WooCommerce カートの更新など) が正しく動作するようにします。永久無料。アカウントは必要ありません。 robots.txt は 30 秒で完成します。