Created
September 10, 2019 16:28
-
-
Save caovillanueva/a06d9b8a12a9b916a5006627262cb0fa to your computer and use it in GitHub Desktop.
[Shopify Google Console] Indexed, though blocked by robots.txt #Shopify #SEO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add the follow code in theme.liquid: | |
{% if template contains 'search' %} | |
<meta name="robots" content="noindex"> | |
{% endif %} | |
OR | |
{% if handle contains 'page-handle-you-want-to-exclude' %} | |
<meta name="robots" content="noindex"> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment