Robots.txt 生成器

為你的網站生成 robots.txt 檔案。

在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證

…

使用方法

  1. 1
    填寫各項

    輸入數字或選擇所需選項。

  2. 2
    檢視結果

    更改任何值時,答案會立即更新。

  3. 3
    使用結果

    複製結果或記下來。不會向任何地方傳送任何內容。

About this tool

Choose the crawler, list the paths you do not want crawled and any paths to allow, and add your sitemap address. Copy the result into a file named robots.txt in the root of your site. Remember that robots.txt is a request to crawlers, not a way to hide private pages.

When to use it

Create a robots.txt file for your website, with sitemap and rules.

Tips

Do not block pages you want indexed. Test the file.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

計算示例

With the boxes at their starting values (Crawler (user-agent): All crawlers (*); Allow everything when no paths are listed: Yes; Paths to block (one per line): /admin /private/), the tool shows: User-agent: * Disallow: /admin Disallow: /private/. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.

獲得最佳結果的提示

在相信結果之前先檢查每一個輸入項,因為一個錯誤的數字就會改變整個答案。請使用工資單、賬單、證書或合同上的準確數字,並記下計算日期。稅率、門檻和規則會不時變化,因此對於稅費和法律事務,請將結果視為估算,並與本頁註明的官方來源核對。您可以嘗試任意多個方案;不會儲存或傳送任何內容,重新整理頁面會清空輸入。

要點

將此計算器嵌入您的網站

複製此程式碼,即可在您的頁面上顯示計算器。包含指向 shobfree.com 的連結。

常見問題

Where does robots.txt go?

In the root of your website, so it is available at yourdomain.com/robots.txt.

Does it hide pages from search?

It asks crawlers not to visit them, but pages can still appear if linked elsewhere. Use noindex or a password for private pages.

Where do I put it?

In the root of your site.

Does it hide pages?

No. It only asks crawlers to skip them.

完全免費無費用,無需註冊
檔案保持私密一切都在您的瀏覽器中執行
用您的語言輕鬆使用提供多種語言