Reduce/Stop SPAM with: CSS or Disabling comments ? (2 posts)

  1. samzz
    Posted 3 years ago #

    I would use WP to build a site not blog. A website without interaction by visitors. I prefer to use/create post instead of page, because posts can be categorized. OK, some plugins add the ability to categorize pages.

    So, to disable (hide, remove) the comment form below the posts, I add this css definition in the style.css file:

    .nocomments,.comments,#nocomments,#comments,.entry-meta,.entry-utility,#respond, .reply
    {display:none !important;}

    This css definition will hide the web form, only in the page rendering, not in the HTML source code. So my question is:
    - Does this CSS help to reduce/stop SPAM?

    Other question:
    - Disabling the option "Allow visitors to write comment" in the WP post options, is this enough to protect a WP site from SPAM?

    Thanks and regards.


  2. mentalist3d
    Posted 3 years ago #

    Look in your theme files for the page and post templates, and you can strip out the ability to comment from there, as well as make sure the ability to comment is switched off in the settings.

    You will likely still get spammers trying to register with your site though, so use the plugin 'Stop Spammers Registration' - http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Akismet
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic