Google Docs to WordPress: 7 Easy Steps to Publish Faster
Learn how to prepare a blog in Google Docs and move it to WordPress while keeping headings, formatting, images, tables, links and SEO information organized.
Test whether a URL is allowed or blocked for Googlebot, Bingbot and AI crawlers using your live robots.txt or rules you paste in. Then build a clean robots.txt with the generator below.
Build a clean robots.txt, then upload it to the root of your site (yoursite.com/robots.txt).
One wrong line in robots.txt can hide a whole section of your site.
A clear answer for any URL, with the exact line that decided it highlighted in your file.
Follows Google's rules: the most specific user-agent group applies, the longest rule wins, and wildcards * and $ work.
Paste your own rules to try a change safely before touching the live file.
Warns about Disallow: / for all crawlers, server errors, missing Sitemap lines and oversized files.
Build a new file with presets for WordPress, online stores and AI crawlers, then copy or download it.
Test as Googlebot, Googlebot-Image, Bingbot, GPTBot, CCBot or any crawler.
Check what crawlers can reach, and write a robots.txt you can trust.
robots.txt is a plain text file at the root of your site that tells crawlers which paths they may visit. It controls crawling, not indexing. A page blocked in robots.txt can still show up in search results without a description if other sites link to it. To keep a page out of search, use a noindex tag instead and leave the page crawlable.
Need a new file instead? Skip to the robots.txt generator further down this page.
The tool follows the matching rules Google publishes. First it finds the group of rules for the most specific matching user agent, so a Googlebot group wins over a group for every crawler. Inside that group, the rule with the longest matching path wins, and when an Allow and a Disallow rule are equally long, Allow wins. The wildcard * matches any characters and $ marks the end of a URL, so Disallow: /*.pdf$ blocks every PDF.
The robots.txt checker above flags most of these automatically whenever you test a URL.
The generator below the tester builds a clean file in a few clicks. Choose whether to allow or block everything by default, list folders to block one per line, add exceptions, and paste your sitemap URL. Presets add the usual rules for WordPress and online stores, and an option adds rules for common AI training crawlers if you do not want your content used for that. Copy or download the result and upload it as robots.txt to the root of your domain, then test a few URLs with the tester above to confirm it works as expected.
After updating robots.txt, the sitemap and robots.txt scan confirms that your sitemap is listed and reachable.
Before a well behaved crawler visits a site, it fetches the robots.txt file from the root of the domain, such as example.com/robots.txt. The file is plain text. It names one or more user agents, such as Googlebot or Bingbot, and lists the paths each one may or may not crawl. A robots.txt tester reads that file and applies the same matching rules a search engine uses, then tells you whether a given URL is allowed or blocked.
Each subdomain needs its own file. The robots.txt file on www.example.com does not apply to shop.example.com. If you run a store or a blog on a subdomain, test that hostname in the robots.txt tester as well.
Robots.txt controls crawling, which means whether a bot may download a page. It does not control indexing directly. A blocked page can still appear in Google if other sites link to it, usually with no description. To keep a page out of search results, allow crawling and add a noindex tag instead. If the page is blocked in robots.txt, Google never sees the noindex.
The robots.txt tester helps you spot this conflict. If an important page is blocked, the tester shows the exact rule responsible.
When more than one rule matches a URL, Google follows the most specific one, which means the rule with the longest matching path. If an Allow rule and a Disallow rule are equally long, Allow wins. The robots.txt tester follows the same logic and highlights the rule that decided the result.
A single character can change a lot. "Disallow: /" blocks the whole site. "Disallow: /p" blocks every URL that starts with /p, including /products and /pricing. A rule written for a staging site and copied to the live site can hide everything from search. Run the robots.txt tester on your home page, a product, a category and a blog post after any change to the file.
Google renders pages much like a browser does. It needs your CSS and JavaScript files to see the layout and content. Old robots.txt files often block folders such as /wp-includes/ or /assets/, which can stop Google from rendering the page properly. If the robots.txt tester shows these folders as blocked, remove the rules. Keep blocks for private areas, internal search results and endless filter combinations instead.
WordPress creates a virtual robots.txt file if there is no real one on the server, and SEO plugins can edit it from the dashboard. The default WordPress file blocks /wp-admin/ but allows admin-ajax.php, which is a sensible start.
Shopify generates robots.txt for every store and blocks cart, checkout and some search and filter URLs by default. You can customise it with a robots.txt.liquid template, but do it carefully. Test every change with the robots.txt tester, since a mistake affects the whole store.
Add a Sitemap line with the full URL of your XML sitemap anywhere in the file. Search engines use it to find the sitemap even if you never submitted it. You can list more than one sitemap. If you do not have one yet, build it with the sitemap generator, then add the line and confirm it with the robots.txt tester.
Many site owners now choose whether AI crawlers may use their content. Each of these bots has its own user agent name, and you can allow or block them separately from search engines. Add a group for the bot you want to control and test a few URLs with that user agent in the robots.txt tester. Keep in mind that robots.txt is a request, not a lock. Well known crawlers respect it, but it does not protect private content.
Run the robots.txt tester after any site launch, migration or theme change, after installing an SEO or security plugin and whenever a page drops out of search for no clear reason. It is also worth a check before you hand a site to a client. The robots.txt tester is free, works on any public domain and shows the result in seconds.
Most small and medium sites need very little in robots.txt. A common starting point allows everything, blocks the admin area and lists the sitemap. On WordPress, that means a user agent line for all bots, a Disallow line for /wp-admin/, an Allow line for /wp-admin/admin-ajax.php and a Sitemap line with your full sitemap URL. Online stores often add blocks for cart, checkout and internal search pages.
Resist the urge to add many rules "just in case". Every extra line is one more chance to block something important by mistake. Start simple, test with the robots.txt tester and add rules only when you have a clear reason.
Does robots.txt hide private pages? No. It is public, and anyone can read it, which means listing private folders can even draw attention to them. Protect private content with a login instead. How quickly does Google see a new file? Google usually refreshes its copy of robots.txt within a day. What if robots.txt is missing? A missing file returns 404, which search engines treat as permission to crawl everything. The robots.txt tester will tell you if your file cannot be found.
Large sites, especially online stores with many filters, can create thousands of near duplicate URLs, such as every combination of size, color and sort order. Search engines may spend their crawl time on these instead of on new products and articles. Blocking clear patterns, such as sort parameters or internal search results, can help. Do it carefully: block the parameter pattern, not the category itself, and test a sample of real category and product URLs in the robots.txt tester before you publish the change.
Small sites with a few hundred pages rarely need to worry about crawl budget. For them, the safest robots.txt is a short one, and the most useful habit is a quick test after every change to the site's structure.
Staging and development copies of a site often use a robots.txt file that blocks everything, which is sensible while the site is private. The risk comes at launch, when files are copied to the live server and the blocking file comes with them. Within days, pages start to drop out of search. Add a robots.txt check to your launch checklist and run the robots.txt tester on the live home page within an hour of going live. It takes seconds and prevents one of the most common and costly launch mistakes.
A better long term approach is to protect staging sites with a password instead of robots.txt. A login keeps bots and people out, and there is no blocking file to copy by mistake.
The result shows three things: whether the URL is allowed or blocked, which user agent group was used and which rule decided the outcome. If no group matches the bot you chose, the tester falls back to the group for all bots. If no rule matches the path, the URL is allowed. Use this to check your intent line by line. When a URL is blocked by a rule you did not expect, the highlighted line in the robots.txt tester shows exactly what to change, without any guessing.
If you work with a developer or agency, ask them to share any change to robots.txt before it goes live, along with a short list of URLs they tested. That simple habit, plus a quick check of your own with the robots.txt tester, keeps everyone confident that search engines can still reach every page that matters to your business.
Official reference: Google's introduction to robots.txt explains what the file can and cannot do, including why it is not a way to hide pages.
How crawlers read robots.txt rules, and what blocking a page does and does not do.
It tells crawlers which parts of your site they may visit. It controls crawling, not indexing, so a blocked URL can still appear in search if other sites link to it.
Use a noindex meta tag or X-Robots-Tag header, and leave the page crawlable so Google can see that tag. Blocking it in robots.txt stops Google from reading the noindex.
At the root of your domain, for example https://yoursite.com/robots.txt. Each subdomain needs its own file.
That is your choice. Blocking bots like GPTBot or CCBot stops well-behaved AI crawlers from using your content for training. It does not affect Google Search rankings.
Google renders pages like a browser. If it cannot load your CSS and scripts, it may see a broken page and rank it lower.
A 404 is treated as "everything allowed". A 5xx server error can make Google pause crawling the whole site until the file works again.
Same free, no-signup approach, pick whichever check you need next.
Look for injected scripts and hidden iframes, and check SSL, security headers and mixed content.
Try it →Reveal elements set to display:none, the kind of cloaking that gets sites penalized.
Try it →Build a clean XML sitemap with real lastmod dates, and check your robots.txt at the same time.
Try it →Run every check on your site in one go with the free full site audit.
Run a full site audit →