Noindex code for theme.liquid head.
If url contains ‘page=’. ‘phrase in url’ then noindex.
Anyone know how to?
Noindex code for theme.liquid head.
If url contains ‘page=’. ‘phrase in url’ then noindex.
Anyone know how to?
Please follow this guide:
a. Goto Shopify Admin → Online Store → Themes
b. On your current theme, click … → Edit code
c. Follow 1 → 2 → 3 to search end of head tag
d. Add follow code, it can be fix your problem
{% if current_page == 1 %}
{% else %}
{% endif %}
Hi, this worked for the Paginated Pages, thanks!!
What is the code for the noindexing a url which contains a phrase in the url? If the url contains ‘login_with_shop’ then noindex.
Hi @deakon ,
You can try this code:
{% if request.path contains 'login_with_shop' %}
{% endif %}
If it works for you, please mark my answer as solution, thank you
Hi,
that did not work.
gonna post new question about just the url contains phrase issue. there’s gotta be some way to do it.
Thanks for the Pagination Noindex Code!