Empowering 11,000+ WordPress Creators • Est. 2020
Free · No Sign-Up · Instant Results

無料の Robots.txt Generator & Validator

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.

Build Your Robots.txt

Used to auto-fill the Sitemap URL.

Live Preview

robots.txt
# Loading preview…
0 lines
0 bytes
基本事項

Robots.txt ファイルとは何ですか?

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.

robots.txt の例
# 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 ガイド

WordPress 用の Robots.txt を作成する方法

WordPress はデフォルトでは robots.txt を作成しません。最適な SEO のために追加すべきものは次のとおりです。

1

上記のジェネレーターを使用する

上の「WordPress」テンプレートを選択し、サイトの URL を入力すると、適切なルールがすべて事前に入力された robots.txt が即座に生成されます。

2

FTP または cPanel 経由でアップロードする

生成された robots.txt ファイルをダウンロードし、FTP、cPanel ファイル マネージャー、またはホストのファイル マネージャーを使用してサイトのルート ディレクトリにアップロードします。

3

Or Use SkySEOManager

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.

これらのエラーを回避してください

SEO に悪影響を与える Robots.txt のよくある間違い

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.

🟡

CSS および JavaScript ファイルのブロック

不許可 /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 を修正する

robots.txt は始まりにすぎません。
SkySEOManager Pro ですべてのページの 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.

よくある質問

robots.txt ファイルは SEO に必要ですか?
いいえ、robots.txt ファイルは必要ありません。 Google がドメイン ルートで robots.txt を見つけられなかった場合、それを「すべて許可」として扱い、サイト全体を自由にクロールします。ただし、管理ページ、ログイン ページ、および重複コンテンツのクロールを明示的にブロックできるように、ほとんどのサイトで作成することを強くお勧めします。
robots.txt により、私のページが Google に表示されなくなりますか?
robots.txt で URL をブロックすると、Googlebot がアクセスできないようになります。 這う ただし、そうでないことを保証するものではありません 現れる 検索結果で。他のサイトがブロックされた URL にリンクしている場合でも、Google はその URL を「利用可能な情報がありません」という説明とともに結果に表示することがあります。ページが Google に表示されないようにするには、代わりに noindex メタ タグを使用します。
Google はクロール遅延指令に従っていますか?
No — Google explicitly ignores the Crawl-delay directive. It uses its own internal signals to manage crawl rate for your server. Crawl-delay is respected by some other bots like Bingbot and Yandex, but it has no effect on Googlebot.
Google はどのくらいの頻度で私の robots.txt を再読み込みしますか?
Google typically caches and re-reads robots.txt files every 24 hours. If you make a change that you need Google to pick up quickly (such as removing a noindex or Disallow rule), you can request faster re-crawling via Google Search Console → Settings → Crawl Stats.
/wp-admin/ ディレクトリをブロックする必要がありますか?
はい。追加 Disallow: /wp-admin/ クローラーが SEO 価値のない管理ページでクロール予算を無駄に消費するのを防ぎます。ただし、必ず追加してください Allow: /wp-admin/admin-ajax.php 次の行では、AJAX に依存する機能 (WooCommerce カートの更新など) が正しく動作するようにします。

今すぐ Robots.txt を作成または確認してください

永久無料。アカウントは必要ありません。 robots.txt は 30 秒で完成します。