Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-09-2008, 08:44 AM
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Spain
Posts: 344
computergenius RepRank 1
Default Getting rid of spammy links

I just got fed up of links like this:
http://mysite.com/%5C%22http://spmsite.com/rubbish/

In my system, I have a custom 404, which sends me an email when pages can't be found, and the example wouldn't be found.

If a page isn't found, I need to look into it, but this rubbish just wastes my time.

Just to stop the messages, at the top of the custom 404, I said,
if the url contains a http like the one above,
do a 301 permanent redirect to my home page

Works fine, any spammers sending URLs like the ones above, are sending people to my home pages on my different sites.

But when I ask for the headers for the above page, I get 200 OK, and the home page. I hadn't thought about it, I wasn't expecting it. But the incoming spam links are now pointing somewhere useful!

So it looks like a win-win situation.

Any thoughts?
__________________
Pete Clark
Advertise events locally in Spain for free - http://hotcosta.com/events.php
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Having Lot of Links To ResourcePages On Home Page Spammy? prathap75 Google Discussion Forum 2 08-02-2006 10:51 AM
Spammy Tactics? DEone Google Discussion Forum 20 04-29-2006 04:24 AM
are sub domains spammy? virtualtraveller Google Discussion Forum 16 06-23-2005 12:02 AM


Search Engine Optimization by vBSEO 3.2.0