capture 2014-03-07 at 4.52.15 PM

Comments up and running again

| 3 Comments

Sometimes, website administration is the kind of chore I abhor. This sort of feeling takes over when bad code breaks good code. The job is much easier when my visitors alert me to a problem! Thank you Herm for telling me when the commenting feature is broken!

This site uses Jetpack comments for WordPress, and submitting a comment created a 404 error. Details here. Solution here.

The error looks like this:

capture 2014-03-07 at 4.51.15 PM

The solution is to remove some offending code from the .htaccess file in the site’s root folder. Any number of security-related and WordPress-hardening plugins add this code to the .htaccess file. The one I use is called Wp htaccess Control, and it has an option for “hardening WordPress comments” located in its settings under “suggestions.” Unchecking that feature fixes the issue.

capture 2014-03-07 at 5.02.07 PM

Other plugins may require you to edit the .htaccess file manually. Look for these lines of code and comment them out. If your Jetpack comments cease working later on after making this change, look to the .htaccess file again. It’s likely because a plugin update or a new plugin has ruined your day.

capture 2014-03-07 at 4.54.21 PM

 

 

 

Brian

I'm a young man from the United States traveling the Americas by motorbike. I freely share my adventures here, and this wouldn't be possible without the generous support of my family, friends, and followers like you.

Please help me continue the adventure!

If you enjoy what you see, please say so in a comment. Better yet, comment, subscribe, and share!

You can also help by making your Amazon purchases via this link or by putting some gas in my tank with the button below!

I sincerely appreciate your support!