WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
robots.txt and woocommerce (3 posts)

  1. EnergyFreak
    Member
    Posted 1 year ago #

    Hi everyone,

    I recently noticed that google was indexing my Add to cart function with a random description, so it got me to think that maybe I need to add some line to my robots.txt to avoid this indexing of useless links. What did you guys add to your robots.txt?

    Thanks!

    http://wordpress.org/extend/plugins/woocommerce/

  2. bheadrick
    Member
    Posted 1 year ago #

    Disallow: /*add-to-cart=*

    My hosting provider actually shut a site down because I was getting so much traffic from search engines crawling those url's before I realized I needed to add that.

  3. EnergyFreak
    Member
    Posted 1 year ago #

    Ya I think I must have over 200 or more useless pages that have been indexed and I was trying to reduce that number. I will add that line as well. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic