1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to check whether specific pages are index or noindex?

Discussion in 'Web Design' started by jm12345, Apr 24, 2017.

Tags:
  1. jm12345

    jm12345 Newbie

    Joined:
    Feb 18, 2017
    Messages:
    22
    Likes Received:
    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
     
  2. Vladamir

    Vladamir Power Member

    Joined:
    Jan 4, 2012
    Messages:
    531
    Likes Received:
    310
    Gender:
    Male
    Occupation:
    Restore Old Boats
    Location:
    Zihuatanejo, Ixtapa, Mexico
    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.
     
  3. jm12345

    jm12345 Newbie

    Joined:
    Feb 18, 2017
    Messages:
    22
    Likes Received:
    3
    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 :)
     
  4. jm12345

    jm12345 Newbie

    Joined:
    Feb 18, 2017
    Messages:
    22
    Likes Received:
    3
    Unfortunately the one shopify app I found didn't work
     
  5. thezeebase

    thezeebase Junior Member

    Joined:
    Aug 6, 2014
    Messages:
    164
    Likes Received:
    54
    Gender:
    Male
    Usually I do t prefer shopify.....