• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero Blog

NameHero Blog

Web Hosting Tips & Resources From NameHero

  • Hosting
    • Web Hosting
    • VPS Hosting
    • WordPress Hosting
    • WooCommerce Hosting
  • Reseller
  • Enterprise
  • Domains
  • Account
  • Blog Home
  • Categories

How To Disable Mod Security (Fixes Most Publishing Errors)

Ryan Gray

Published on: August 2, 2017

Categories: WordPress 0

Have you ever tried to make a post in WordPress, Xenforo, or some other content management system only to get a 500 internal server error?

I was chatting on Skype yesterday with one of my friends (and Name Hero customers) who was having this issue over and over.

First off, I can relate as I’ve experienced this for nearly a decade now, and always wanted to pull my hair out troubleshooting the issue.

You need to disable Mod Security

After spending HOURS troubleshooting this many years ago, I discovered it was Mod Security blocking it.

More specifically, some word processing programs such as Microsoft Word insert ambiguous characters into your text which when pasted into WordPress (or similar) can create the error as Mod Security considers it a threat.

This is also the same problem many face when trying to get the Manage WP Worker plugin to connect.

How to disable Mod Security

You can do this by logging into cPanel, searching for, and then clicking on ModSecurity:

You can then disable it for the domain in question or for your entire cPanel account:

If you administer your server (i.e. on a VPS) you can login to Web Host Manager -> ModSecurity Tools and you can disable the one rule causing the issue (if you don’t want to disable Mod Security all together).

This works as well, but sometimes you’ll find there are multiple rules creating the issue.  In a lot of cases it’s just as easy to disable it all together.

How to keep your website secure

Mod Security acts as a web application firewall blocking your site from many hacking / exploit attempts.  If you decide to disable it you need to make SURE you regularly change your passwords (using strong ones) as well as keep your software updated.

This means regularly updating WordPress (when updates are available) as well as all your plugins, themes, etc.  Running older versions of software is the number one reason websites get hacked.  Also using insecure passwords without strong characters!

If you have any questions or issues with this, feel free to reach out and our team can ensure your website is secured!

 

Ryan Gray
Ryan Gray

Ryan Gray is the founder and CEO of NameHero, one of the fastest growing independent web hosts in the United States. Ryan has been working online since 1998 and has over two-decades experience in Internet Entrepreneurship.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!

Most Popular Posts

Speed up your site: solving the WordPress slowdown

NameHero’s Recommended WordPress Plugin and Theme Setup (2023)

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • Website Performance
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • Domains
Help & Support
  • NameHero Blog
  • Knowledgebase
  • Announcements
  • Affiliates
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2023 NameHero, LLC. All rights reserved.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA