• Luke_Chase

    (@luke_chase)


    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

    (@macmanx)

    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.