DirkBlaauw
DirkBlaauw

Reputation: 17

How to NO INDEX FOLLOW layered navigation on a home or CMS page in Magento?

I have got troubles with Google indexing my homepage many times in different states of sorting and ordering products that I show on my homepage. The links that appear in google for my site are like this. Approximately 90 times. Obviously, I do not want my homepage indexed 90 times.

http:/www.my-url.com/?dir=desc&limit=12&mode=list&order=name

How do I go about making sure that these duplicate content pages are gone from google? I use this code in a CMSblock to show the products:

<div class="custom-products-widget" style="padding-bottom: 0;">{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="5" template="catalog/product/list.phtml" columnCount="5"}}</div>

What I have done/tried so far in this order:

My Question now is: Is there anything more I can or should do? How would I get them out of the google search results and get them de-indexed. Or would I just have to wait now?

Upvotes: 1

Views: 1830

Answers (1)

Roy
Roy

Reputation: 4464

I think you're looking for a canonical tag. For more information see: https://support.google.com/webmasters/answer/139066

You can add a canonical tag with XML in your local.xml, for example on your homepage:

<cms_index_index>
    <reference name="head">
        <action method="addLinkRel">
            <rel>canonical</rel>
            <href>http://domain.com/</href>
        </action>
    </reference>
</cms_index_index>

Upvotes: 1

Related Questions