Blocking .ru URLs

If your site is anything like mine, you will be flooded with spam posts from .ru (Russian) websites. Heres how to use .htaccess to block these submissions by disallowing them to register.

Open your .htaccess

add the contents of the attached download to it.

  Block .ru (47.4 KiB, 590 hits)

This will block registrations from Russia.

If you found this post helpful, please consider thumbing up on StumbleUpon.

If you enjoyed this post, make sure you subscribe to my RSS feed!

  • Awesome idea! Do you know how we can prevent spammers from posting spam urls? There's a guy that posts hundreds of different stories all with the same url. How is this possible?

    Thanks
  • You can ban his URL, just click "Admin Link" for one of his submission, then click "Change Status" in there is an option to ban the URL.

    Make sure you have Antispam enabled in the Config Panel.
  • Thanks man! I didn't know that. When I click the admin it didnt have that option, but I didnt have the antispam enabled.

    Thanks
  • Glad to help my friend.
  • it is really nice post.keep it up ......
  • This is excellent. I am so sick of the .ru spammers. This is going to help, I hope.
  • Thank you for the article i have been getting loads of ru spam


    --------------------------
    www.moneysavingcashback.co.uk
blog comments powered by Disqus