Google index my affiliate urls in search and it is showing same home page title and meta tags. The URL looks like this http://www.mywebsite.com/?id=1234 how i can stop indexing the page which comes with id?=, how i can keep that in robots.txt, please can any one help me with it...
You have to be careful as not all robots treats robots.txt the same. To exclude Googlebot from indexing it you can use RegEx: User-agent: Googlebot Disallow: /*?id=* I think that'll work!
will this deindex just the link ? r u sure on this? any expert feedback on affiliate trackers would be helpful
You should block it via php code markup if your website is php coded. or IN robots.txt Disallow: /*?id=*
I guess that will prevent all the spiders to index them. If you wanna stop gogle only, then its the solution.