{"id":11263390,"date":"2019-03-01T13:49:07","date_gmt":"2019-03-01T13:49:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&#038;p=11263390"},"modified":"2026-05-13T00:54:45","modified_gmt":"2026-05-13T00:54:45","slug":"comment-moderation","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/comment-moderation\/","title":{"rendered":"Comment moderation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Comment moderation is a feature in WordPress that allows you to prevent comments from appearing on your site without your express approval. Moderation can be very useful in addressing&nbsp;<a href=\"\/support\/article\/comment-spam\">Comment Spam<\/a>, but it has more general applications as well. If you would like to learn more about comment spam, see&nbsp;<a href=\"https:\/\/wordpress.org\/documentation\/article\/comment-spam\/#fighting-comment-spam\">Fighting Comment Spam<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How moderation works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress runs a number of tests on each new comment before posting it to your blog. If a comment fails one of these tests, it is not displayed immediately on the site but is placed in a queue for&nbsp;<strong>moderation<\/strong>, the process of manual approval or deletion by the blog&#8217;s administrator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Controlling moderation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can control which comments get held for moderation on your&nbsp;<a href=\"\/support\/article\/settings-discussion-screen\/\">Settings Discussion Screen<\/a>&nbsp;page, which is located under&nbsp;<a href=\"\/support\/article\/administration-screens\/#settings-configuration-settings\">Settings<\/a>&nbsp;<span aria-hidden=\"true\" class=\"wp-exclude-emoji\">\u2192<\/span>&nbsp;<a href=\"\/support\/article\/administration-screens\/#discussion\">Discussion<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you would like every comment to be held for moderation, check the&nbsp;<strong>Comment must be manually approved<\/strong>&nbsp;option, listed under&nbsp;<strong>Before a comment appears<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you would like to send suspicious comments to the moderation queue, while letting innocent comments through, you will need to specify a set of rules for determining which comments are suspicious. These rules are specified in on the <a href=\"https:\/\/wordpress.org\/documentation\/article\/administration-screens\/#settings-configuration-settings\">Settings<\/a>&nbsp;<span aria-hidden=\"true\" class=\"wp-exclude-emoji\">\u2192<\/span>&nbsp;<a href=\"https:\/\/wordpress.org\/documentation\/article\/administration-screens\/#discussion\">Discussion<\/a>&nbsp;&gt;&nbsp;Comment Moderation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first option is to hold comments for moderation if they contain an unusually large number of hyperlinks. Most normal comments contain at most one or two links while spam comments often have a large number. Look at your own comments and set this to a value that makes sense for your audience. (Note: In version 1.5.2, and possibly others, if you do not put a number in the comment moderation links box, in other words, if this box is completely blank, all anonymous comments (and possibly others) are sent to the Manage Comments SubPanel for moderation, even if the Discussion Options Subpanel has no restrictions set.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second option is to specify a set of&nbsp;<strong>moderation keys<\/strong>&nbsp;which, if present in any part of the comment, will cause it to be held for moderation. These keys are specified one per line in the large text area, which is blank by default. Moderation keys can include&nbsp;Spam Words, swear words,&nbsp;<a href=\"\/support\/article\/glossary#ip-address\">IP addresses<\/a>, and&nbsp;<a href=\"http:\/\/en.wikipedia.org\/wiki\/Regular_expression\">Regular Expressions<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you add a new moderation key, it&#8217;s a good idea to test its validity by checking previous comments. Simply use the link entitled&nbsp;<strong>Check past comments against moderation list<\/strong>, which is located underneath the text box containing moderation keys. This asks WordPress to check previous comments and tell you which ones would be flagged for moderation under your new set of keys.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course this means that there may be a lot of comments that you don&#8217;t want on your site caught in the moderation queue, and in this case we&#8217;ve tried to make it as easy as possible to manage large numbers of comments quickly. See the articles on&nbsp;<a href=\"https:\/\/wordpress.org\/documentation\/article\/comment-spam\/#fighting-comment-spam\">Fighting Comment Spam<\/a>&nbsp;for more information and resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Comment blocking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The box marked&nbsp;<strong>Disallowed Comment Keys<\/strong>&nbsp;works in exactly the same way as the comment moderation box, except that comments that match these words will be&nbsp;<strong>deleted immediately<\/strong>&nbsp;and&nbsp;<em><strong>without notification<\/strong><\/em>. So be careful! Genuine comments could be deleted without you ever knowing they were there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Managing incoming comments<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you start receiving comments on your site, you can check the status of comments quickly by looking at the dashboard, the admin bar, or the left navigation menu. When you log in, the dashboard&#8217;s &#8220;Activity&#8221; box will show you the status of your comments. Hover over a comment to see your moderation options. From &#8220;Activity &#8211; Comments&#8221; you can approve, reply, edit, mark as spam, or trash comments. Alternatively, you can look to see if there is a number next to the comment bubble in the admin bar or &#8220;Comments&#8221; in the left navigation. This number represents how many pending comments require your attention.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Moderating comments with the comment screen<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"144\" src=\"https:\/\/wordpress.org\/documentation\/files\/2023\/08\/comment_pending_numbered_smaller.png\" alt=\"WordPress comment moderation panel displaying a comment from a user named \u2018blogreader.\u2019 The entry shows the user\u2019s avatar, username, website (example.com), email (blogreader@example.com), and IP address (192.168.0.5). The comment, submitted on 2013\/12\/16 at 8:18 am, reads: \u2018By default anybody can leave comments without logging in.\u2019 Below the comment are moderation options: Approve, Reply, Quick Edit, Edit, Spam, and Trash. On the right, the comment is shown as a response to the post titled \u2018Hello world!,\u2019 with a link to \u2018View Post.\u2019\" class=\"wp-image-16358693\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2023\/08\/comment_pending_numbered_smaller.png 830w, https:\/\/wordpress.org\/documentation\/files\/2023\/08\/comment_pending_numbered_smaller-300x52.png 300w, https:\/\/wordpress.org\/documentation\/files\/2023\/08\/comment_pending_numbered_smaller-768x133.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress makes moderating your users&#8217; comments a simple process. The&nbsp;<a href=\"https:\/\/wordpress.org\/documentation\/article\/comments-screen\/\">Comments Screen<\/a>&nbsp;lays out the basic information about each comment and lets you decide what to do with it.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/documentation\/article\/use-gravatars\/\" data-type=\"link\" data-id=\"https:\/\/wordpress.org\/documentation\/article\/use-gravatars\/\">Commenter Gravatar<\/a><\/li>\n\n\n\n<li>Commenter Name<\/li>\n\n\n\n<li>Commenter Website URL<\/li>\n\n\n\n<li>Commenter Email Address<\/li>\n\n\n\n<li>Commenter IP Address<\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/documentation\/article\/customize-date-and-time-format\/\">Time and Date<\/a>\u00a0Comment was submitted<\/li>\n\n\n\n<li>Comment Text<\/li>\n\n\n\n<li>Comment Moderation Options. You can approve, spam or trash a comment with one click. Reply, Quick Edit or Edit will open up a new screen for you to write a reply to the comment or edit the comment.<\/li>\n\n\n\n<li>Post Name<\/li>\n\n\n\n<li>Number of Comments on the Post, Link to View Post<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Bulk edit comments<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"113\" src=\"https:\/\/wordpress.org\/documentation\/files\/2023\/08\/bulk-action.webp\" alt=\"WordPress Comments dashboard showing the comment management toolbar. Tabs display counts for All, Mine, Pending, Approved, Spam, and Trash comments. Dropdown menus for \u2018Bulk Actions\u2019 and \u2018All comment types\u2019 are visible along with \u2018Apply\u2019 and \u2018Filter\u2019 buttons. A \u2018Search Comments\u2019 box appears on the right, and pagination controls.\" class=\"wp-image-16358694\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2023\/08\/bulk-action.webp 1024w, https:\/\/wordpress.org\/documentation\/files\/2023\/08\/bulk-action-300x33.webp 300w, https:\/\/wordpress.org\/documentation\/files\/2023\/08\/bulk-action-768x85.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Like the posts and Pages screens, the Comments screen supplies a Bulk Action drop-down box. Select the comments you want to edit, and then select Unapprove, Approve, Mark as Spam, or Move to Trash from the drop-down and click &#8220;Apply.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comment moderation is a feature in WordPress that allows you to prevent comments from appearing on your site without your express approval. Moderation can be very useful in addressing&nbsp;Comment Spam, but it has more general applications as well. If you would like to learn more about comment spam, see&nbsp;Fighting Comment Spam. How moderation works WordPress [&hellip;]<\/p>\n","protected":false},"author":14216496,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"category":[86,78],"class_list":["post-11263390","helphub_article","type-helphub_article","status-publish","hentry","category-publishing","category-support-guides"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/11263390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/users\/14216496"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=11263390"}],"version-history":[{"count":6,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/11263390\/revisions"}],"predecessor-version":[{"id":16367734,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/11263390\/revisions\/16367734"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=11263390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=11263390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}