WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
XML Sitemaps. Issue with ?add-to-cart= (2 posts)

  1. stoneypointe
    Member
    Posted 1 year ago #

    Hi there
    Today I generated a sitemap using the xml generator site for my woocommerce store.
    I noticed that there are lots of urls that look like this: <url>
    <loc>http://www.mydomain.com/?add-to-cart=2114</loc>
    </url>
    Obviously this is not very useful. How can I go about this?
    Should I create the site manually and block the urls in the robots.txt?

    M.

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

  2. mci2727
    Member
    Posted 1 year ago #

    That's what I'm thinking; Just add what you want not followed to robots.
    I'm planning on doing this with my /shop /products & /cart because I just use it for client proofing/sales of photos.
    Don't want Google seeing all that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic