PDA

View Full Version : Error 404 Spam?



djmatt
04-13-2008, 07:55 PM
In my 404 log, I am getting a lot called pages like these:
/userpage1http://SPAM.by.ru/images 10 -
/userpage2http://SPAM.chat.ru/images 9 -
/userpage2http://SPAM.chat.ru/images 9 -
/userpage2http://SPAM.chat.ru/images 8 -
/userpage3http://SPAM.chat.ru/images 7 -
/userpage4http://SPAM.chat.ru/images 6 -
/userpage4http://SPAM.chat.ru/images 5

I use htaccess to redirect "userpage1" etc. so the way I read it is that spammers are adding their http://SPAM.chat.ru tag to the end of a real link so that if my stats page gets picked up by search engines, it will show their link.

Am I interpreting this correctly?

Can someone tell me a rewrite that would test for "http://" in the uri and delete everything after and including that phrase?

Thanks.

djmatt
04-14-2008, 07:33 PM
In case anyone is wondering...

RedirectMatch 301 //(.*) http://www.mysite.org

It looks for the // after the domain name and then if found, redirects to my index page. My 404 list is so long, I can't even see the errors I need to fix. Hopefully, this will end that problem. If not, I'll report back here.