---
schema_version: "1"
id: ec88cde858142a353bfc4b2ed42b2a386771a46612d918277ea90e5dcd9ad41a
title: Verify the Robots.txt File in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_verifying_the_robots_txt_location.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_verifying_the_robots_txt_location.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ad249d9c249686225ba7233c4370fe8f9e8d2b5bbe7bc942a2bfe22b1b11d67a
description: After you generate or upload a robots.txt file, confirm that your storefront serves it correctly by requesting the file in a browser and testing its directives in Google Search Console.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Verify the Robots.txt File in B2C Commerce

After you generate or upload a robots.txt file, confirm that your storefront serves it correctly by requesting the file in a browser and testing its directives in Google Search Console.

1. In your browser, enter the hostname of the instance, a slash, and then robots.txt. For example, `https://www.yourshophere.com/robots.txt` or `https://staging.realm.company.demandware.net/robots.txt`.
2. Check that the contents of your robots.txt file appear. If you get a blank page, the file isn't being served. In this case, verify that the static content page cache was invalidated.

To check that your robots.txt file is behaving as expected, use the robots.txt Tester in Google Search Console. You must have a Google account to use this tool.