Not Able to Publish Comments on Wordpress

Avatar
  • Answered
Yesterday, my site went down because of a server overload and the Inmotion agent I spoke with on the phone suggested that I go back to having my site on a VPS. She also emailed me two plugins to download to help out with the traffic (WP Super Cache and CAPTCHA). Some time after speaking with her, and after I downloaded the plugins, I noticed that visitors were unable to comment on any of the articles. When you attempt to do so, a new page opens and it simply states "Temporarily unavailable." I chatted with an Inmotion support agent and at first he thought it was just a permalink problem. He had me change the permalinks, save it, and then change them back to what they were originally. This did not resolve the issue. I deleted both plugins, but that didn't seem to do anything either. Any assistance or tips on this would be greatly appreciated! Thanks!

Example Article:

http://shenkitup.com/2014/01/19/america-the-offended-im-offended-that-youre-offended-by-me-being-offended/
Avatar
JacobIMH
Hello Nate, and sorry for the issues. Taking a look at your account, it appears that your /public_html/.htaccess file is currently sending a 503 temporary server issue response to POST attempts to either any URLs that include trackback or to the wp-comments-post.php script with this code:
ErrorDocument 503 "Temporarily unavailable"
RewriteEngine on
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} /.*trackback [OR]
RewriteCond %{REQUEST_URI} /wp-comments-post.php
RewriteRule .* - [R=503,L]
It looks like there have been (447) attempts to POST to the wp-comments-post.php script already today. So I'm assuming our system administration team did this as a temporary measure to ensure your site could stay un-suspended on shared hosting. If this wasn't something that was discussed with you on the phone, I apologize for that. You can comment out those rules by placing a pound symbol (#) in front of each line if you need that functionality back right away. Please bear in mind that looking at your account's CPU graphs for the day, you're already well over your 100% CPU usage limit. So any PHP scripts running will add onto that CPU time, and especially if you're dealing with any kind of comment spam that can increase usage a lot. - Jacob