• A few days ago my whole site went offline for a few hours then returned as normal (think the host was having issues as a similar site using the same host had the same problems) however, there is one big problem since it all resumed.

    Whenever i try to save page edits i get the “error 404 – not found” message (in the site format) and wordpress/the site does not recognise that i have done anything.

    Any ideas as to why this is occurring? And/or more importantly, any way to fix this?!

    Thanks,
    -Sarah

    (www.cardiffunilacrosse.co.uk)

Viewing 9 replies - 1 through 9 (of 9 total)
  • Do you have the problem when editing every post? Or is it just posts containing certain (perhaps seemingly innocuous) words?

    Anyway, a few possibilities – try deactivating any plugins first and trying again.

    More likely though, your host has probably got Mod_Security running on the server, which is blocking you from saving the post. It’s kinda like an anti-spam/hacker shield, so it monitors web traffic on the server looking for anything dodgy and then blocks it.

    If that’s the case you can try editing the .htaccess file inside your WP-ADMIN folder, by adding this:

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    If that doesn’t work, it might be Mod Security 2, so you’ll probably need to give your host a ring and get them to alter the rules they’ve set up as I don’t *think* you can override it yourself.

    Otherwise, check your Permalink settings are correct. Let us know how you get on and I’m sure someone will some genius idea for you if you have no joy with the above.

    Thread Starter freewheelinotter

    (@freewheelinotter)

    Thanks for trying to help.

    Tried something for the permalinks but that didn’t do anything different. Tried the .htaccess file fix but that didn’t do anything different. The only thing i noticed is that the .htaccess file currently sits on the same level as the wp-admin folder and not in it..is this an error?

    I was hoping that i wouldn’t have to bully the host..still hoping really.

    If you’ve not got an .htaccess inside your wp-admin, you can create one with that code in it. Although if you’ve already tried it in the root directory, I would’ve thought it would apply to all directories further down the ‘tree’ too. I wouldn’t leave that code in the root .htaccess though. Best bet would be to contact your host next I reckon.

    By the way… where possible, it’s a good idea to password protect the wp-admin directory with a .htaccess and a .htpasswd. It’s an extra line of defence against hackers. It’s pretty easy to do yourself, or there’s plugins that’ll do that for you I’m sure. Bit of homework for you! ??

    Hi,

    Add this code in htaccess:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Also disable all the plugins and enable it one by one to find out the culprit.

    Thanks,

    Shane G.

    Thread Starter freewheelinotter

    (@freewheelinotter)

    Thanks guys.

    Adding that one bit of line (ErrorDocument 404..) from Shane G to the stuff from alism seems to have fixed the bug but only for one of my pages.

    All the others are still sending the 404 error back..very annoying!

    Thread Starter freewheelinotter

    (@freewheelinotter)

    Ok, i think i’ve narrowed down the problem, it’s using links whether that be for urls or java references (i.e. to show/hide text portions).

    Any tips to fix this? I’ve tried to fix the permalinks but i’ll try again and see if it helps.

    any solutions, I am having the same problem.

    Having the same issue editing any on appearance pages in wordpress. I added the code that shane g suggested and I now get:

    Title:406 not acceptable

    An appropriate representation of the requested resource /wp/wp-admin/theme-editor.php could not be found on this server.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    any thoughts?

    “Error 404 – Not Found”,Error solved ….
    don crap ur mind by trying all stuff…just after creating the page in word press don forget to publish it…
    the option in blue colour

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Page Edits: Error 404 – Not Found’ is closed to new replies.