Charle97,
Thanks I read the bottrap article on kloth you suggested. My site is still being hit constantly although the comment spam has stopped.
I am working on a backup copy of my .htaccess (and I have one "clean" in case I need to revert to it.
I am unclear where to insert that paragraph suggested in Method 2 in the article.
My .htaccess file starts with
#BEGIN WordPress
<ifModlule mod_rewrite.c>
Then there's a long list of commands that begin with Rewrite or Rewrite Rule
Finally it ends with
</IfModule>
#END WordPress
=========
Where do I put the following block ... which I will customize with IPs for the bad bots that are hitting my site?
SetEnvIfNoCase User-Agent "Indy Library" bad_bot
SetEnvIfNoCase User-Agent "Internet Explore 5.x" bad_bot
SetEnvIf Remote_Addr "195\.154\.174\.[0-9]+" bad_bot
SetEnvIf Remote_Addr "211\.101\.[45]\.[0-9]+" bad_bot
Order Allow,Deny
Allow from all
Deny from env=bad_bot
I'm sorry, I don't have programming experience so this is new to me. But I can cut, paste and customize if I know what and where to insert it.
Thank you very much for your help.