[resolved] Disable Comments Permanently - I mean PERMANENTLY! (6 posts)

  1. mmubashar
    Posted 4 years ago #


    I really want to disable comments TOTALLY on this particular website that I own. Here's the problem. I have not put ANY comments tag in the setup, and I have also unchecked "Allow people to comment on articles" under settings. But somehow, spams keep going through and I receive email notifications that a new comment has been posted. I have tried searching everywhere, but I couldn't find an answer. I don't want people to "inject" their comments to my site. How do I cure this?

    Thanks in advance :)


  2. Delete the wp-comments-post.php file.

  3. mmubashar
    Posted 4 years ago #

    Thanks James..Is there any risk of doing so?

  4. No risk. The file exists only to post comments, pingbacks, and trackbacks to the database. No file, no comments.

    The file will be replaced every time you upgrade WordPress, so don't forget to delete it after upgrading.

  5. mmubashar
    Posted 4 years ago #

    Thanks a lot James :D

  6. You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic