Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Adding .txt root file for validation

Adding .txt root file for validation

demib
Shopify Partner
135 13 65

Ahrefs now support IndexNow. That is great. However, if you are using Shopify adding the required validation file is not so straight forward.

So, I have made this guide that will show you how to do this.

 

https://elevateapps.io/indexnow-ahrefs-shopify/

SEO Geek since 1996, consultant author and public speaker. Admin of the Shopify SEO Facebook Group

Was your question answered? Kindly mark it as an Accepted Solution 🙂
Replies 2 (2)

KieranR
Shopify Partner
398 34 121

Great info - thanks for sharing I still need to give that feature in Ahrefs a spin. 

For my sanity and so I remember (lol) steps are:

  1. In Shopify Admin
  2. Go to Content > Files
  3. Create a .txt file
  4. Upload the file created from Ahrefs key
  5. Shopify will give a weird URL like:
    https://cdn.shopify.com/s/files/1/123456/456789/789123/files/s1srgp8p22s73cmw5rtjjyb1h3h6fgt2.txt?v=... 
  6. Go to Online Store > Nav > Redirects
  7. Add redirect from the Ahrefs required URL to this one. 

 

Very similar to how you used to have to do a redirect as a workaround before Shopify allowed robots.txt editing directly.

Part time Shopify SEO, based in NZ. Sometimes freelance outside the 9-5.
demib
Shopify Partner
135 13 65

Thanks 🙂

 

Yes, except Ahrefs do not give you the file - only the key. You have to manually create the file, with the key-name.txt and the key as only content. 

SEO Geek since 1996, consultant author and public speaker. Admin of the Shopify SEO Facebook Group

Was your question answered? Kindly mark it as an Accepted Solution 🙂