Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How to make that google wont follow these two pages:

http://mysite.com/products-page/your-account/ http://mysite.com/products-page/checkout/

Thanks!

P.S. Im using worpdress with WP Ecommerce plugin.

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

You can do two things:

  1. Create a sitemap.xml excluding the pages you just mentioned.
  2. Create a robots.txt which disallows the Google robot from looking at certain files:

    To exclude all robots from parts of a server:

User-agent: *
Disallow: /product-page/checkout

This is not WordPress specific.

HTH

share|improve this answer
add comment

You can also use the wp seo plugin by yoast http://yoast.com/wordpress/seo/ and select no index no follow on the pages you want to block. Also dont worry google cannot see the users account details in products-page/your-account/ it will just see a empty page.

wp seo plugin

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.