All things Shopify and commerce
Hi
My client is asking site promotion so SEO is doing site promotion and he wants to edit robots.txt file in shopify but i can't find this file anywhere in shopify as well as I get robots.txt file when i enter my site url / robots.txt in google. How can i add and edit robots.txt file in shopify.
Solved! Go to the solution
This is an accepted solution.
Hello!
Just a quick update about the robot.txt file that was referenced in this post. As of today, June 21st, 2021, we have launched the ability to edit the robot.txt file to give merchants more control over the information that is crawled by search engines. You can learn more about how to edit your robot.txt file through our community post here.
As this response is the answer to the question, I have marked my response as the solution. If you have any questions about the new feature, please do not hesitate to create a new post under our "Techincal QA" board.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi, @VIGNESHPRABU_C !
The robots.txt file cannot be changed - see here for more info on how robots.txt works with search engines crawling. It also explains why content is blocked and how to hide specific pages, if needed.
The robots.txt file is located at the root directory of your Shopify store's primary domain name. For example: johns-apparel.com/robots.txt.
Although you can't edit the content of your store's robots.txt file, you should be aware of the content that it blocks from search engines. For example, the shopping cart page is blocked from search engines because you want customers to find your product pages before the cart page.
You can hide pages that are not included in your robots.txt file by customizing the <head> section of your store's theme.liquid layout file. You need to include some code to noindex particular pages.
All the best!
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hello!
Just a quick update about the robot.txt file that was referenced in this post. As of today, June 21st, 2021, we have launched the ability to edit the robot.txt file to give merchants more control over the information that is crawled by search engines. You can learn more about how to edit your robot.txt file through our community post here.
As this response is the answer to the question, I have marked my response as the solution. If you have any questions about the new feature, please do not hesitate to create a new post under our "Techincal QA" board.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025