{"id":718,"date":"2016-12-20T00:00:00","date_gmt":"2016-12-20T00:00:00","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/how-to-delete-all-comments-wordpress\/"},"modified":"2025-04-23T09:25:00","modified_gmt":"2025-04-23T09:25:00","slug":"how-to-delete-all-comments-wordpress","status":"publish","type":"post","link":"\/tutorials\/how-to-delete-all-comments-wordpress","title":{"rendered":"How to delete all comments on WordPress manually, using a plugin, and more"},"content":{"rendered":"<p>Having comments on a website is a great way to engage your audience. Unfortunately, it&rsquo;s also one of the many platforms that hackers can use to fill your site with spam and malicious content. This article will show how to delete all comments on WordPress.<\/p><p>We will go over why deleting comments may be necessary, as well as three different methods to remove all comments on your WordPress website.<\/p><p>\n\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-reasons-to-delete-comments\">Reasons to delete comments<\/h2><p>Although comments can help build relationships with the audience, there are times when you need to remove them from your WordPress site. An example is when you need to <a href=\"\/tutorials\/wordpress-comment-spam\">get rid of spam messages<\/a>, which is common among websites without an anti-spam setup.&nbsp;<\/p><p>These comments can harm user experience and <a href=\"\/tutorials\/wordpress-seo-tips\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress search engine optimization<\/a> (SEO) rankings. Furthermore, they can pose security threats as they may contain malicious content or direct visitors to an unsecured website.<\/p><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/public\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-how-to-delete-all-comments-on-wordpress\">How to delete all comments on WordPress<\/h2><p>The following sections will list three ways to remove all comments on your WordPress site &ndash; from the easiest to the most difficult. Which method you choose depends on your preferences and technical knowledge.<\/p><h3 class=\"wp-block-heading\" id=\"h-use-the-wordpress-admin-dashboard\">Use the WordPress admin dashboard<\/h3><p>The most straightforward way to delete all comments on <a href=\"\/tutorials\/what-is-wordpress\">WordPress is<\/a> to <a href=\"\/tutorials\/wordpress\/how-to-login-to-wordpress-dashboard\">log in to your admin dashboard<\/a> and navigate to the <strong>Comments<\/strong> page. Follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Select <strong>Comments<\/strong> on the left menu.<br><img decoding=\"async\" width=\"1024\" height=\"440\" class=\"aligncenter wp-image-19301 size-large\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1-1024x440.png\" alt=\"How to delete all WordPress comments from WordPress dashboard\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=1320,fit=scale-down 1320w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=980,fit=scale-down 980w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-1.png\/w=1349,fit=scale-down 1349w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Find the<strong> Bulk Actions<\/strong> dropdown menu and choose <strong>Move to Trash<\/strong>. Select all comments and click <strong>Apply<\/strong>.<br><img decoding=\"async\" width=\"1024\" height=\"455\" class=\"aligncenter size-large wp-image-19302\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2-1024x455.png\" alt=\"This image shows you how to delete all comments in WordPress from the platform's Comments section.\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=1320,fit=scale-down 1320w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-dashboard-2.png\/w=1349,fit=scale-down 1349w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-use-a-wordpress-plugin\">Use a WordPress plugin<\/h3><p>Another option is to <a href=\"\/tutorials\/wordpress\/how-to-install-wordpress-plugins\">install a WordPress plugin<\/a> specifically for removing multiple WordPress comments simultaneously. <a href=\"https:\/\/wordpress.org\/plugins\/wp-bulk-delete\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Bulk Delete<\/a> is a great option for this, as it can implement filters and conditions when managing comments based on your needs.<\/p><p>The free version of the plugin comes with a primary comment remover feature. For more filter options, check out the Pro plan for <strong>$29\/site<\/strong>.&nbsp;<\/p><p>Follow these steps to remove all comments with WP Bulk Delete:<\/p><ol class=\"wp-block-list\">\n<li>Head to the WordPress admin dashboard and navigate to <strong>WP Bulk Delete -&gt; Delete Comments<\/strong>.<br><img decoding=\"async\" width=\"1024\" height=\"441\" class=\"aligncenter wp-image-19303 size-large\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1-1024x441.png\" alt=\"access to WP Bulk Delete menu\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=1320,fit=scale-down 1320w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-1.png\/w=1349,fit=scale-down 1349w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Check the filters you want to use and click <strong>Delete Comments<\/strong>. The free version lets you filter comments based on their status and publication date.<br><img decoding=\"async\" width=\"1024\" height=\"491\" class=\"aligncenter size-large wp-image-19306\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1-1024x491.png\" alt=\"This image shows WP Bulk Delete's comment deletion settings.\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=1320,fit=scale-down 1320w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-plugin-2-1.png\/w=1365,fit=scale-down 1365w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-use-phpmyadmin\">Use phpMyAdmin<\/h3><p>Finally, you can delete all WordPress comments directly from your database using <strong>phpMyAdmin<\/strong>. Consider this method if the admin panel or plugin method isn&rsquo;t working properly. That being said, it requires some basic knowledge of databases and SQL.&nbsp;<\/p><p>There are two options to delete comments using <strong>phpMyAdmin<\/strong> &ndash; running an SQL query or emptying the comment table. Both methods will modify two tables where comments take place, <strong>wp_comments <\/strong>and <strong>wp_commentmeta<\/strong>.<\/p><p>\n\n\n<div><p class=\"important\"><strong>Important!<\/strong> The tables&rsquo; names might differ depending on your database prefix.<\/p><\/div>\n\n\n\n<\/p><p>Your database is accessible from your web hosting control panel.&nbsp;<\/p><p>The tutorial below will show you how to delete all WordPress comments using an SQL query from Hostinger&rsquo;s hPanel. This method is suitable if you have specific types of comments to remove.<\/p><p>1. From your hPanel, head to <strong>Databases &rarr; phpMyAdmin<\/strong> and choose the database you want to modify. Click <strong>Enter phpMyAdmin<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/hpanel-databases-phpmyadmin-highlighted.jpg\"><img decoding=\"async\" width=\"1024\" height=\"431\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/hpanel-databases-phpmyadmin-highlighted.jpg\/public\" alt=\"Screenshot displaying the Databases phpMyAdmin section in hPanel. The Enter phpMyAdmin button is highlighted.\" class=\"wp-image-78205\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/hpanel-databases-phpmyadmin-highlighted.jpg\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/hpanel-databases-phpmyadmin-highlighted.jpg\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/hpanel-databases-phpmyadmin-highlighted.jpg\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/hpanel-databases-phpmyadmin-highlighted.jpg\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>2. In<strong> phpMyAdmin<\/strong>, select the <strong>wp_comments<\/strong> table.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1353\" height=\"553\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/public\" alt=\"This image shows you how to access wp_comments from phpMyAdmin.\" class=\"wp-image-19314\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=1353,fit=scale-down 1353w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-2.png\/w=1320,fit=scale-down 1320w\" sizes=\"(max-width: 1353px) 100vw, 1353px\" \/><\/figure><\/div><p>3. Click on the <strong>SQL<\/strong> tab at the top to open the SQL query window.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1350\" height=\"558\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/public\" alt=\"This image shows you how to access the SQL query tab of the selected table.\" class=\"wp-image-19318\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=1350,fit=scale-down 1350w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-3-1.png\/w=1320,fit=scale-down 1320w\" sizes=\"(max-width: 1350px) 100vw, 1350px\" \/><\/figure><\/div><p>4. Choose one of the following queries to delete comments based on particular conditions:<\/p><p>Delete all WordPress non-approved and pending comments:<\/p><pre class=\"wp-block-preformatted\">DELETE from wp_comments WHERE comment_approved =&nbsp; '0'&nbsp;<\/pre><p>Delete all WordPress approved comments:<\/p><pre class=\"wp-block-preformatted\">DELETE from wp_comments WHERE comment_approved =&nbsp; '1'&nbsp;<\/pre><p>Delete all WordPress trash comments:<\/p><pre class=\"wp-block-preformatted\">DELETE from wp_comments WHERE comment_approved =&nbsp; 'trash'&nbsp;<\/pre><p>Delete all WordPress spam comments:<\/p><pre class=\"wp-block-preformatted\">DELETE from wp_comments WHERE comment_approved =&nbsp; 'spam'<\/pre><p>5. Add the chosen query to the SQL query window, then click <strong>Go<\/strong>. Repeat this step several times according to the number of queries you want to execute.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1365\" height=\"451\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/public\" alt=\"This image shows you how to execute the SQL query.\" class=\"wp-image-19322\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=1365,fit=scale-down 1365w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=414,fit=scale-down 414w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-4.png\/w=1320,fit=scale-down 1320w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/figure><\/div><p>6. Repeat the entire steps to remove comments from the <strong>wp_commentmeta table<\/strong>.<\/p><p>If you want to delete all WordPress comments unconditionally, you can follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>In <strong>phpMyAdmin<\/strong>, tick <strong>wp_comments<\/strong> and<strong> wp_commentmeta<\/strong>&rsquo;s respective boxes to the left.<\/li>\n\n\n\n<li>Find the <strong>With selected<\/strong> dropdown menu and select <strong>Empty<\/strong>.<br><img decoding=\"async\" width=\"1024\" height=\"444\" class=\"aligncenter size-large wp-image-19324\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5-1024x444.png\" alt=\"This image shows you how to automatically generate SQL query to empty wp_comments and wp_commentmeta tables.\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=990,fit=scale-down 990w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=1320,fit=scale-down 1320w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/12\/wordpress-delete-comment-phpmyadmin-5.png\/w=1348,fit=scale-down 1348w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n\n\n\n<li>Click <strong>Yes<\/strong> to confirm that you want to execute the presented queries.<\/li>\n<\/ol><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Comments play an essential role in growing your audience, but some situations may deem it necessary to purge them. Some comments can harm your site&rsquo;s SEO and user experience.<\/p><p>Therefore, this article has shown how to delete all comments on WordPress:<\/p><ul class=\"wp-block-list\">\n<li><strong>Using the WordPress admin dashboard.<\/strong> The most straightforward option. However, there&rsquo;s no ability to filter the comments.&nbsp;<\/li>\n\n\n\n<li><strong>Using the WP Bulk Delete plugin.<\/strong> The simplest and most flexible option as it offers the option to filter the comments.<\/li>\n\n\n\n<li><strong>Using SQL queries in phpMyAdmin.<\/strong> This method requires technical knowledge but offers more control over the deletion process.<\/li>\n<\/ul><p>As each method has its pros and cons, it&rsquo;s best to consider your needs before deciding. We recommend doing a test run on a couple of WordPress comments first to see which method best suits your preferences.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Learn What Else You Can Do With WordPress<\/h4>\n                    <p><a href=\"\/tutorials\/how-to-duplicate-wordpress-page-or-post\">How to Duplicate Pages and Posts on WordPress<\/a><br>\n<a href=\"\/tutorials\/how-to-undo-changes-in-wordpress\">How to Undo Changes in WordPress<\/a><br>\n<a href=\"\/tutorials\/wordpress\/how-to-delete-wordpress\">How to Delete WordPress<\/a><br>\n<a href=\"\/tutorials\/wordpress-taxonomy\/\">WordPress Taxonomy Guide<\/a><br>\n<a href=\"\/tutorials\/wordpress-revisions\">Guide to WordPress Revisions<\/a><\/p>\n                <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having comments on a website is a great way to engage your audience. Unfortunately, it&rsquo;s also one of the many [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/tutorials\/how-to-delete-all-comments-wordpress\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":24,"featured_media":67845,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to delete all comments on WordPress: 3 ways","rank_math_description":"Do you want to purge your WordPress comments section? Check out this tutorial and learn how to delete all WordPress comments.","rank_math_focus_keyword":"wordpress delete all comments","footnotes":""},"categories":[22639,22637],"tags":[],"class_list":["post-718","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website-management","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-delete-all-comments-wordpress","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-delete-all-comments-wordpress","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts\/718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/comments?post=718"}],"version-history":[{"count":30,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts\/718\/revisions"}],"predecessor-version":[{"id":121143,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts\/718\/revisions\/121143"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/media\/67845"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/media?parent=718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/categories?post=718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/tags?post=718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}