WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] 404 when posting formatting or HTML

[Resolved] 404 when posting formatting or HTML

  • Good morning, afternoon or evening!

    I seem to have a rather strange problem. This problem developed without me changing anything on the site at all.

    Since the problem has developed I have:
    – Upgraded to 3.6
    – Clean install of WordPress
    – Cleared cache
    – Deactivated all plugins
    – Switched to the Twenty Twelve theme
    – Re-saved Permalink Settings
    – Applied a number of ‘fixes’ to .htaccess
    – Checked ‘General Settings’ are correct
    – Removed any ‘Update Services’ in ‘Writing Settings’

    Now, onto the problem.

    If I write a post with no formatting or HTML it will post just fine.

    If I add any formatting or a single bit of HTML (be it Bold, Underline… anything!) it will not post and will return a WordPress 404 error.

    When editing the post the address is http://diverse-events.com/wp-admin/post.php?post=300&action=edit

    When pressing ‘update’ it displays the 404 error page with the address bar showing: http://diverse-events.com/wp-admin/post.php

    I appreciate any help 🙂

Viewing 15 replies - 1 through 15 (of 17 total)
  • The .htaccess contains:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    The error log shows:

    [13-Aug-2013 09:43:19 America/Chicago] PHP Warning: Module 'json' already loaded in Unknown on line 0

    mod_rewrites is enabled by my host.

    I have installed a completely fresh wordpress. I still have the same problem.

    If I post with no formatting, perfect.

    If I add formatting I get a 404 error when pressing ‘update’ or ‘publish’

    Would this be a problem with my hosting provider?

    It could be a problem with your hosting provider. Who are you hosting with?

    pacifichost.com – I have opened a ticket with them in the hope they are able to resolve something.

    I have checked the PHP info (http://aaronmonk.co.uk/info.php) but, being honest, I’m unsure what to look for.

    Response from Pacific Host.

    This is because of modsecurity.
    We have disabled the problematic rules for you.

    Everything works a charm now!

    It seems I am mistaken.

    Although I can now add formatting – I am unable to add hyperlinks or any media (pictures)

    It returns the same error.

    esmi

    @esmi

    Forum Moderator

    Have you tried:

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    As previously mentioned I have installed a completely fresh, out of the box, no plugins wordpress to my server and it gives the same errors.

    This fresh install has no plugins or changed themes and I get the very same problem.

    esmi

    @esmi

    Forum Moderator

    Please try the two other steps.

    All three steps have been taken.

    The error is also on a new, never been used blog, with no posts, no plugins and no content.

    But, all of these steps have been taken.

    esmi

    @esmi

    Forum Moderator

    Then I can only assume that this is a server/hosting issue as no one else seems to be having the same problem. Have you asked your hosts about it? Have you checked your site’s error logs for messages (your hosts should be able to help you in accessing your site’s error logs)?

    As previously mentioned

    I have opened a ticket with them in the hope they are able to resolve something.

    and

    The error log shows:

    [13-Aug-2013 09:43:19 America/Chicago] PHP Warning: Module ‘json’ already loaded in Unknown on line 0

    To summarise so far:

    Since the problem has developed I have:
    – Upgraded to 3.6
    – Cleared cache
    – Deactivated all plugins
    – Switched to the default theme
    – Re-saved Permalink Settings
    – Applied a number of ‘fixes’ to .htaccess
    – Checked ‘General Settings’ are correct
    – Removed any ‘Update Services’ in ‘Writing Settings’
    – Got the same results on a completely clean, never been used before install of WordPress

    So I am able to post html/formatting but now NOT able to post images or hyperlinks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Resolved] 404 when posting formatting or HTML’ is closed to new replies.
Skip to toolbar