Use of object in robots.txt

5 0 2

It's great that Shopify added ability to edit robots.txt via use of robots.txt.liquid

Unfortunately it seems like robots.txt.liquid does not support global objects

Specifically request object is not available


We are using multiple domains and languages in our store and we want to be able to make different robots.txt would allow us to set this differences in robots.txt.liquid but it is not propagated to the template


How other experts solve this problem?

Would be happy to hear if anyone has a workaround for this

Would be even more happy if Shopify would add request object support to their roadmap





Replies 0 (0)