Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run a giant community. Many spammers will use link shorteners or .tk domains that 301 to their spam offer. How are sites detecting the final domain and is this a viable solution to block spam?

ex. I'll just block the spam: bit.ly/xdfd but then they will just use a different shortened link.

share|improve this question
Building off what @Baptiste said, you might mention what forum/CMS/etc you're using as there could be a feature or plugin of some kind that'll handle this for you. – Su' Sep 14 '12 at 10:38
it's a custom site. j0k gave me some good ideas, thanks – surpr Sep 15 '12 at 19:08

There is plenty solutions to expand short url:

When user submit a new post, you can apply a function that expand url for all url inside the post. Then you will have the real url. So you can appy what ever spam solution you use to reject / accept the post.

You can also replace the shorten url by the full one to avoid short link on your commutiy board.

share|improve this answer

Many forums simply forbid all url shorteners. There is no simple solution to that, you may try also specific solutions for your platform (phpBB, vBulletin, etc.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.