I am getting a weird error in Google Webmaster Tools when my site is accessed as
http://www.myurl.com/ it shows duplicate meta tags for a
http://www.myurl.com/?ref=wierdurl.com
I have no relation to this weird url, but obviously it is linked to my site this way and Google sees it as a separate page...and thus duplicate content.
What is the best way to handle this situation? I was thinking a PHP header call....but then I'm not sure whether I want to 301 all http://www.myurl.com/?whatever=whatever to http://www.myurl.com/ or should I just 404 these?
My concern with 301 is I can see potential for some weird hacks to be utilized this way again my site??? As unlikely as it is...I can see it happening...
The concern with 404 is potentially I am going to lose some links back to my site this way...
Is there a better way maybe or should I just go with 404? or am I being too cautious with the 301 hacking thing?