Shopify themes, liquid, logos, and UX
Dear all,
Would like to know if it's possible to hide some parts of my website from search engines,
NOT the whole page / site, but just parts such as footer (Address)
I don't want that this website pops up when people type in the address in Google lets say.
I've asked chatgpt, it gave me the following code, but i can't add this in my footer (website editor)
{% unless request.path contains "bot" %} <div class="footer-address"> Your Address Information Here </div> {% endunless %}
Can anyone assist me on this one please?
Kind regards,
Lisa v Dijk
Hey Lisa, just to confirm, are you looking to noindex the addresses in the footer from search engines?
Hi Yvon,
Yes, I don't want to index the address in footer, so it won't pop up my website when people search on my address.
is this possible by any chance, I'm using the Dawn theme.
Thank you in advance,
Hey Lisa, in that case I recommend adding a noindex tag in each page of your footer
you can do it directly with liquid :
To find the handle of the page you want to noindex:
Simple solution
You can use a Shopify app like Noindexly to create noindex tag without having to code
Extract the list of links in your footer and then apply a noindex tag to those links.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024