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, 188 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!

2 Comments »

  1. avatar Grant Says:

    Thank you for the article i have been getting loads of ru spam

    ————————–
    http://www.moneysavingcashback.co.uk

  2. avatar Marmaris Says:

    This is excellent. I am so sick of the .ru spammers. This is going to help, I hope.

RSS feed for comments on this post. TrackBack URL

Leave a comment