Welcome to WebmasterWorld Guest from 54.166.191.159

Forum Moderators: goodroi

Message Too Old, No Replies

How to stop parameters page from being indexed

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

5+ 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
7:06 pm on Mar 26, 2010 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 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.
9:21 pm on Mar 26, 2010 (gmt 0)

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



use the canonical tag

[googlewebmastercentral.blogspot.com...]
 

Featured Threads

Hot Threads This Week

Hot Threads This Month