Spam users problem on my site

blaze5

Registered Member
Joined
Oct 11, 2011
Messages
94
Reaction score
7
Hey, I have a website running on wordpress (not blog) and I have problem with spam users.
There are a lot of spam users joining each day, so I need some plugin for wordpress or some tool, which will stop them from creating accounts on my site.
 
Do you need people to register at all? If not just un-tick the "anyone can register" option.
 
Akismet works for what you need, and is pretty much standard on wordpress, so that works.

But as scrapefox said, why not just remove the ability to register? Or don't make registration automatic?
 
All the above answers work but if you could give us more information we could give you a better advice.

Thank you

P.S. use a captcha for registration
or a email confirmation
 
Either simply disable the user registration, or provide them with a CAPTCHA in the registration form. For CAPTCHA, you need a complex solution like recaptcha library etc.. Don't go for those 10+1 = ? type of CAPTCHAs..
If you still have problem, start banning IP ranges..
 
Edit the url of your login page so that it is not the typical /wp-login.php
 
You can edit the htaccess to prevent spam if a lot of the spammers use proxies or no referrer.

Ask me if you want the code and i will pop it up here.

Worked for me, and stopped 90% of all spam that askimet missed.
 
Another vote for Akismet. I bought a site and it came with what seemed to be a popualtion of spammers offering to fix problems with the site, lol. Uninstalling a few plug ins fixed the problems with the site and Akismet fixed the spammers.
 
You can edit the htaccess to prevent spam if a lot of the spammers use proxies or no referrer.

Ask me if you want the code and i will pop it up here.

Worked for me, and stopped 90% of all spam that askimet missed.

Please do. I have tried several htaccess codes without success.
 
Adding Captcha can reduce the spam .. and adding a email confirmation should eliminate all spam ..
 
Here you go. Be warned backup your htaccess first before making any changes.
Also on top of that you may well have to modify what I give you below as i have no idea what your current htaccess contains.

I have taken the liberty of adding caching methods using htaccess as well so this will help your website as well.
Code:
#This is the header part added by wordpress, skip adding this in your htaccess if you already have it in there
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
#END

# start Protect wp-config file from hackers
#<files wp-config.php>
#Order deny,allow
#deny from all</files>
# end Protect wp-config file from hackers


# BEGIN FORCE USE OF BROWSER CACHE
FileETag MTime Size
<ifmodule mod_expires.c>
  <filesmatch "\.(jpg|gif|png|css|js|ico|jpeg|swf)$">
       ExpiresActive on
       ExpiresDefault "access plus 1 year"
   </filesmatch>
</ifmodule>
#END FORCE USE OF BROWSER CACHE

# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
#END compression

# BEGIN, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>
# END compress certain file types by extension

# Expires headers part of the caching part 1
ExpiresActive On
ExpiresDefault A0
ExpiresByType image/gif A2592000
ExpiresByType image/png AA2592000
ExpiresByType image/jpg AA2592000
ExpiresByType image/jpeg AA2592000
ExpiresByType image/ico A2592000
ExpiresByType application/javascript AA2592000
ExpiresByType application/x-javascript AA2592000
ExpiresByType text/javascript AA2592000
ExpiresByType text/html A3600
ExpiresByType text/xml A3600
ExpiresByType text/css A604800
ExpiresByType text/plain A3600
ExpiresByType image/bmp A2592000
ExpiresByType application/x-shockwave-flash A2592000
#END Caching part 1

# BEGIN DENY COMMENT POSTING TO NO REFERRER REQUESTS to stop spam
#RewriteEngine On
#RewriteCond %{REQUEST_METHOD} POST
#RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
#RewriteCond %{HTTP_USER_AGENT} ^$
#END DENY COMMENT POSTING TO NO REFERRER REQUESTS to block spam

#secure htaccess file
<Files .htaccess>
order allow,deny
deny from all
</Files>
#END

# Custom 403 error messages
<Files 403.shtml>
order allow,deny
allow from all
</Files>
#END


#START libperl spam and hacking blocking
SetEnvIfNoCase User-Agent "^libwww-perl*" block_bad_bots
Deny from env=block_bad_bots
#END libperl block

Please give thanks or rep if you find this useful.



Please do. I have tried several htaccess codes without success.
 
thanks for the answers, I'll go with un-ticking the "anyone can register" option , because I don't need any users atm .
 
Akismet is what you'll want.

You can also add another level and add recaptcha as well, pretty sure there are a few plugins that do that. Between both of those you'll never have a problem.
 
Back
Top