I run a few (less than 10) subdomain on a domain, 99% of the domains have Wordpress setup on them. Today I did a search on google for site:mydomain.com and there are MANY (pages upon pages) of bogus results showing up for 1 of the subdomains that look like this : Buy ambien Buy ambien. Special buy ambien it now online. Registered on buy ambien if you would like to online check buy ambien this drugs catalog.online only way is ... sub.domain.net/?page=315 - 12k - Cached - Similar pages - Filter When you click the search result link it never even connects to my server, it automatically connects to some other server and a spam site loads. To be clear, it's not like google goes to my page then you get redirected, it loads the spam sites w/o redirection from my domain. These post are not on my server, I just ran a SQL search for some of the text in question and it doesn't exist in my DB. Also I use that subdomain all the time and would have noticed if there were 200 extra post , especially since it has less than 100 of its own post. Questions : 1. How do they do this ? 2. What can I do ? Surely it can't be good that google thinks these pages belong to me. BTW, google says it has 561 results for my site, I bet at least 300 of these are these "hacked" links. Thank you
I thought that also but when you click the google result it never connects to my server at all. I review my logs often and would have noticed all the extra traffic. It's like they've convinced google that their domain is part of my domain or something.
Try changing your user agent to google bot and try to go to your site , maybe a script checks agent to show pages accordingly.