Shopify Sites Can Now Edit Their Robots.txt File

Join Shop Free Mart! Sign up for free!


Shopify shops at the moment are in a position to edit their robots.txt file, which provides house owners extra management over how engines like google crawl their web site.

Tobi Lutke, Shopify CEO, broke the information this night on Twitter whereas including that it’d take till Monday for this characteristic to roll out to everybody.

All Shopify shops begin with the identical robots.txt, which the corporate says works for many websites, however now the file will be edited via the robots.txt.liquid theme template.

Site house owners could make the next edits to the robots.txt file:

  • Allow or disallow sure URLs from being crawled
  • Add crawl-delay guidelines for sure crawlers
  • Add further sitemap URLs
  • Block sure crawlers

Shopify recommends utilizing Liquid so as to add or take away directives from the robots.txt.liquid template, because it preserves the power to maintain the file routinely up to date.

How To Edit Robots.txt in Shopify

Here are the steps to customizing a Shopify retailer’s robots.txt file:

  • From your Shopify admin, go to Online Store > Themes.
  • Click Actions, after which click on Edit Code.
  • Click Add a brand new template, after which choose robots.
  • Click Create template.
  • Make the adjustments that you simply wish to make to the default template.
  • Save adjustments to the robots.txt.liquid file in your printed theme.

Alternatively, web site house owners can delete the contents of the template and exchange it with plain textual content guidelines, although Shopify doesn’t suggest it because it gained’t be routinely up to date.

Advertisement

Continue Reading Below

ThemeKit or command line adjustments will protect the robots.txt.liquid file. Uploading a theme from throughout the Themes part of the Shopify admin won’t import robots.txt.liquid.

Shopify warns that enhancing the robots.txt.liquid file is an unsupported customization, which implies their assist crew can’t assist with edits.

“Incorrect use of the feature can result in loss of all traffic,” cautions Shopify. Though that’s true of the robots.txt file for any web site.

Related: Shopify search engine optimization – How to Optimize Your Shopify Site for Google

Additional Resources

Here are some sources from Shopify that will help with enhancing robots.txt.

Advertisement

Continue Reading Below

First, right here’s the robots.txt liquid template referenced earlier.

Shopify additionally supplies a robots.txt customization tutorial.

SEOs are fairly proud of the announcement of this replace, saying it’s about time Shopify presents the power to edit robots.txt.

The characteristic is rolling out proper now. As talked about, if you don’t but have entry to it, you probably will by Monday.

Advertisement

Continue Reading Below



Source hyperlink search engine optimization

Join Shop Free Mart! Sign up for free!

Be the first to comment

Leave a Reply

Your email address will not be published.


*