I need to disallow http://example.com/startup?page=2 search pages from being indexed.
I want http://example.com/startup to be indexed but not http://example.com/startup?page=2 and page3 and so on.
Also, startup can be random, e.g., http://example.com/XXXXX?page
Something like this works, as confirmed by Google Webmaster Tools “test robots.txt” function:
However, if the first part of the URL will change, you must use wildcards: