Mobile app version of vmapp.org
Login or Join
Moriarity557

: Dealing with spam by blocking URLs? 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

@Moriarity557

Posted in: #Spam #SpamPrevention

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.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity557

2 Comments

Sorted by latest first Latest Oldest Best

 

@LarsenBagley505

There is plenty solutions to expand short url:


What is the best way in PHP or JS to expand shortened URLs like Bitly, Tinyurl to find the original URL?
ExpandUrl (a java solution)
Expand short URL – Simple PHP app for beginners
expanding short url to original url using PHP and CURL
Simple-URL-Expander (a javascript solution)


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.

10% popularity Vote Up Vote Down


 

@Dunderdale272

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.)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme