Lizzy here, one of the Gurus on the support team at Shopify.
You can absolutely do that. It would just require adding a piece of code to your theme.liquid in the <head> section. We have a guide in our help docs which explains the steps for noindexing specific pages on your site.
I suggest duplicating your theme before making any changes to the theme code, just in case. You can do this by going to Online Store>Actions>Duplicate.
If you have any questions about it let me know. You can also give us a call or start a live chat if you'd like to speak to someone on our team direc...
Thank you, :)
A non-intrusive coding solution to the problem that's 100% free is to launch a noindex tag through google tag manager. Moz gives a great guide to this. Basically just add this code to a custom html tag and set the trigger to fire on pages views for specific pages, page types, or other page variables.
<script> // Removes any existing meta robots tag jQuery('meta[name="robots"]').remove(); // Create an empty meta element, called 'meta' var meta = document.createElement('meta'); // Add a name attribute to the meta, with the value 'robots' meta.name = 'robots'; // Add a content attribute to the meta element, with the value 'noindex, follow' meta.content = 'noindex, follow'; // Insert this meta element into the head of the page, using jQuery jQuery('head').append(meta); </script>
@Hayden10 That's a cool idea, but where would you put this code?
And would there be a easier way, instead of creating a code excluding all product.handle, as that would be each product on the list?
Thanks a lot!