wp-spamfree comments log 403 forbidden fix

My wordpress blog has wp-spamfree installed and protecting me from spam comments.

It does a great job and I heartily recommend it.

One of the features is a log file with the contents of any spam comments so you can check for false positives or to see just how much spam your blog is being protected from.
The log file defaults to [yourserver]/wp-content/plugins/wp-spamfree/data/temp-comments-log.txt

I tried to read mine but I got a 403 forbidden error and couldn’t figure out why, I had a standard install.

I tracked it down to the .htaccess file in /wp-content/plugins/wp-spamfree/data/ which has[code]SetEnvIfNoCase Referer http://labby\.co\.uk/wordpress/wp-admin/ wpsf_access
SetEnvIf Remote_Addr ^my.ip.address$ wpsf_access


order deny,allow
deny from all
allow from env=wpsf_access
[/code]Insert the line with my.ip.address above and add your own IP address, save and you should be up and running.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge