Title: Disallowed posting.
Last modified: August 24, 2016

---

# Disallowed posting.

 *  [Luke_Chase](https://wordpress.org/support/users/luke_chase/)
 * (@luke_chase)
 * [11 years ago](https://wordpress.org/support/topic/disallowed-posting/)
 * I am trying to embed some code into a post or a page but when I try to publish
   the post/page it returns this error:
 * Forbidden
 * You don’t have permission to access /programming/wp-admin/post.php on this server.
   
   Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
   to handle the request.
 * if there is _no_ way to fix this, how could I post or create a page with the 
   script down there? is there a plug-in I could get?
 * here is the code i’m trying to embed:
    `(<h2><a href="http://www.khanacademy.
   org/computer-programming/socil-studies-project/6346088734916608">Socil Studies
   project</a></h2> <script src="http://www.khanacademy.org/computer-programming/
   socil-studies-project/6346088734916608/embed.js?editor=no&buttons=no&author=yes&
   embed=yes"></script> <p>Made using: <a href="http://www.khanacademy.org/computer-
   programming">Khan Academy Computer Science</a>.</p> )`
 * thank you in advance.

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/disallowed-posting/#post-6114314)
 * It sounds like your hosting provider’s mod_security configuration may be a bit
   too strict. It’s protecting you from being hacked with an injection exploit, 
   which is great, but obviously you’re not posting anything malicious.
 * Just to be sure, try deactivating all plugins. If that resolves the issue, reactivate
   each one individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Fifteen theme
   to rule-out a theme-specific issue (theme functions can interfere like plugins).
 * If neither of those make a difference, it’s definitely the mod_security configuration,
   and you should talk to your hosting provider about that.

Viewing 1 replies (of 1 total)

The topic ‘Disallowed posting.’ is closed to new replies.

## Tags

 * [forbidden](https://wordpress.org/support/topic-tag/forbidden/)
 * [you don't have permission to access](https://wordpress.org/support/topic-tag/you-dont-have-permission-to-access/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/disallowed-posting/#post-6114314)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
