{"id":63,"date":"2007-12-02T23:46:01","date_gmt":"2007-12-03T04:46:01","guid":{"rendered":"http:\/\/www.gamescheat.ca\/2007\/12\/02\/block-spam-from-my-wordpress-blog-by-turning-off-trackback\/"},"modified":"2019-09-04T19:57:41","modified_gmt":"2019-09-05T00:57:41","slug":"block-spam-from-my-wordpress-blog-by-turning-off-trackback","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=63","title":{"rendered":"Block Spam from my WordPress Blog by turning off trackback"},"content":{"rendered":"<div style=\"float: right;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\ngoogle_ad_format = \"468x60_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>My blog has been inundated with spam, I do not want to block valid comments only the spammers. The trackback option is enabled and this allows spammers to post comments without registering a valid email address. Turning off trackback or ping back would prevent this, I have known about this for a while but have been too lazy to get around applying the fix. But I finally applied the fix by turning off trackback, with this command in MySql, <tt>UPDATE wp_posts SET ping_status=\"closed\".<br \/>\nBelow is what I cut and pasted from the WordPress FAQ.  I did not write it, simply cut and pasted it.<\/tt><\/p>\n<p><tt><br \/>\n<strong> I have disabled comments, but comments continue to be posted<\/strong><\/tt><\/p>\n<p><tt>If you have unchecked <strong>Allow people to post comments on the article<\/strong> on the Options > Discussion panel, then you have only disabled comments on <em>future posts<\/em>.  To completely disable comments, you will have to edit each past post and uncheck <strong>Allow Comments<\/strong> from the Write Post SubPanel.  Alternatively, you could delete the <tt>wp-comments-post.php<\/tt> file, or run this MySQL query, from the command line on a shell account, or using phpMyAdmin:  <tt>UPDATE wp_posts SET comment_status=\"closed\";<\/tt><\/tt><\/p>\n<p class=\"editsection\" style=\"float: right; margin-left: 5px\"><tt> <a title=\"I_have_disabled_trackbacks.2C_but_trackbacks_continue_to_be_posted\" name=\"I_have_disabled_trackbacks.2C_but_trackbacks_continue_to_be_posted\"><\/a><\/tt><\/p>\n<h3><tt>I have disabled trackbacks, but trackbacks continue to be posted<\/tt><\/h3>\n<p><tt>If you have unchecked <strong>Allow link notifications from other Weblogs (pingbacks and trackbacks.)<\/strong> on the Options > Discussion panel, then you have only disabled trackbacks on <em>future posts<\/em>.  To completely disable trackbacks, you will have to edit each past post and uncheck <strong>Allow Pings<\/strong> from the Write Post SubPanel.  Alternatively, you could just simply delete the <tt>wp-trackback.php<\/tt> file, or run this MySQL query, from the command line on a shell account, or using PHPMyAdmin: <tt>UPDATE wp_posts SET ping_status=\"closed\";<\/tt><\/tt><\/p>\n","protected":false},"excerpt":{"rendered":"<p>My blog has been inundated with spam, I do not want to block valid comments only the spammers. The trackback option is enabled and this allows spammers to post comments without registering a valid email address. Turning off trackback or&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=63\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[38,24],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/63"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63"}],"version-history":[{"count":3,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":661,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions\/661"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}