Forum Moderators: goodroi

Message Too Old, No Replies

How to stop parameters page from being indexed

         

thok

2:20 pm on Mar 26, 2010 (gmt 0)

10+ Year Member



I have a page http://www.example.com/login/

I want it to get indexed.

But I don't want any thing which is passing any parameter to get indexed as a separate page. Like I dont want following page to get indexed:

http://www.example.com/login/?action=register

g1smd

7:06 pm on Mar 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Try this in robots.txt:

User-Agent: *
Disallow: /*?action=


Be aware that if anything anywhere on the web links to URLs with parameters, the URL can still appear as a URL-only entry in the SERPs.

topr8

9:21 pm on Mar 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



use the canonical tag

[googlewebmastercentral.blogspot.com...]