How to check whether specific pages are index or noindex?

jm12345

Newbie
Joined
Feb 18, 2017
Messages
23
Reaction score
3
I'm working on an eCommerce store using the shopify platform. I read that sorting filters and pagination can lead to duplicate content issues (especially on stores like mine with a lot of text on collection pages).

For example these four pages would all be viewed as duplicate content:

widgets.com/collection/bluewidgets
widgets.com/collections/bluewidgets?page=2
widgets.com/collections/bluewidgets?sort_by=title-descending
widgets.com/collections/bluewidgets?page=2&sort_by=title-descending

^ The first page is the page i actually want indexed, the additional pages are extra pages created by pagination or sorting

I read this article about the issue, although i'm not sure the code included in the article will help my site specifically. https://leanmetrics.io/blog/3-most-common-seo-problems-shopify/

I added this code from the article:

Code:
{% if template contains 'collection' and current_tags %}
<meta name="robots" content="noindex" />
<link rel="canonical" href="{{ shop.url }}{{ collection.url }}" />
{% else %}
<link rel="canonical" href="{{ canonical_url }}" />
{% endif %}


How can i test to see if the pages i do no want indexed are marked "noindexed"?

Will this code actually fix my problems?

I know nothing about coding, but I'm not sure if the "and current_tags %" part is applicable to my site's issues.

Thanks
 
This may help you, i use it to noindex easily with a checkbox, not sure about the pagination issue you are describing, i have never worried about category pagination reporting duplicate content, even if it does my paginated pages are just blog post titles not much duplication there.

https://wordpress.org/plugins/ultimate-noindex-nofollow-tool-ii/

Description

Improves your blog’s search engine optimization by “noindexing” pages you choose.

Add the noindex robots meta tag to archives, categories, search pages, tags, author pages, login, admin pages or any other page you choose.

Add the rel="nofollow" attribute to individual pages listed by the wp_list_pages function or the Pages widget. Also, add the rel="nofollow" attribute to archive links, category links, registration and login links.
 
Yeah, unfortunately the platform is shopify not wordpress. your post did make me search for shopify plugins and i might have found one that can fix the problem so thanks :)
 
Unfortunately the one shopify app I found didn't work
 
Back
Top