WordPress.org

Ready to get started?Download WordPress

Forums

Completely immune to comment spam (6 posts)

  1. entropicus
    Member
    Posted 7 years ago #

    I want to build another site using WP as a CMS, and have no need for comments. Which files other than the comments-php files do I need to delete?

  2. dubsix
    Member
    Posted 7 years ago #

    It might be easier/safer to uncheck Options > Discussion > Allow people to post comments on the article, and then delete any reference to comments (ie that they're closed) in your theme.

  3. entropicus
    Member
    Posted 7 years ago #

    I actually did this on one site, but still see loads of c.spam in my spam karma plugin. These spammers, I assume, spam specific files somehow. I think that the only way to neuter this thing is to delete some files.

    I dont know what the possible consequences of this would be though :)

  4. whooami
    Member
    Posted 7 years ago #

    delete wp-comments-post.php and you will not get any comment spam. wp-comments-post.php is the lone file responsible for proccessing comments and inserting them into your db.

  5. vkaryl
    Member
    Posted 7 years ago #

    That file, btw, is in the root of your wp install....

  6. entropicus
    Member
    Posted 7 years ago #

    thanks a lot!

    I really think that WP makes a better CMS than most CMS systems I have come across.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.