Test Your Setup: How Bots See Your Site
Ensure that Googlebot and other bots see your website as intended. This guide covers three reliable methods: Google Search Console, Chrome DevTools, and curl.
Method 1: Google Search Console
-
Verify Your Site
-
Inspect a URL
- Enter the URL you want to check in the search bar at the top.
- Click Test Live URL.
- After the test, click View Crawled Page.
-
Review the Results
- In the Rendered HTML tab, see how Googlebot sees your page’s HTML.
- In the Screenshot tab, see how Googlebot renders your page visually.
This ensures Googlebot is seeing and indexing your page as expected.
- Open Google Chrome and go to your website.
- Right-click and select Inspect (or press Ctrl+Shift+I / Cmd+Opt+I).
- In DevTools, click the three vertical dots (top right).
- Go to More tools > Network conditions.
- Uncheck Select automatically under “User agent”.
- Choose Googlebot from the drop-down, or enter the Googlebot user agent manually.
Method 3: Using curl to Emulate Googlebot
-
Open your terminal or command prompt and run:
curl -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://yourdomain.com
- Replace
https://yourdomain.com with the URL you want to inspect.
- Press Enter to see the output as Googlebot would.
This is a quick way to fetch a webpage as Googlebot sees it, directly from the command line. Adjust the URL and user agent string as needed for different scenarios.