• I’ve just installed a fresh WP installation, and it seems to work until I try to save a post, whereupon it doesn’t save it at all, and just goes to the front page of the web site instead (not even to the front page of the blog necessarily, straight to the top-level root directory).

    Someone help me out here? It’s very confusing, I’ve never seen anything like it.

    EDIT: It seems to be only when I include the text I wanted to include, which comes from a Word document. Does anyone know of a reason why THAT would happen?

    EDIT2: Stranger and stranger… I actually seem to get this if the post includes any formatting at all.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Oolong

    (@oolong)

    If nobody replies to my plea for help and I still have no idea how to fix it after a day, am I allowed to bump the thread or is that really bad practice?

    didnt you just bump it? ?? You prolly waited long enough, better that then starting a new thread. ??

    Thread Starter Oolong

    (@oolong)

    Thanks whooareyou – that’s pretty much what I figured!

    …anyone?

    First, don’t use Word as an editor. It introduces unwanted code.

    Thread Starter Oolong

    (@oolong)

    Obviously, Word is hell to work with, but if someone sends you Word documents and asks you to make a web page, what are you going to do? Usually I just cut out all that cruft with an electronic scalpel.

    ANYWAY, the latest WordPress has a nifty little ‘Paste from Word’ function to deal with all that nasty unwanted code… and regardless of that, it turns out to do the same thing with any formatting at all. An em tag throws it for a loop. It’s really very strange indeed.

    Second, don’t use Word as an editor. If someone sends you a word document then you rewrite it in validated html.

    EDIT: It seems to be only when I include the text I wanted to include, which comes from a Word document. Does anyone know of a reason why THAT would happen?

    EDIT2: Stranger and stranger… I actually seem to get this if the post includes any formatting at all.

    If it does not happen when you just post “test” then your edits above would confirm it is your code.

    Yours is a local problem. So start ruling out things. Try using a different browser for starts.

    Thread Starter Oolong

    (@oolong)

    Please, I made damn sure there was no crazy Word HTML that could be causing any nasty problems. Why would bad HTML lead to a problem anything like this, anyway? Is that actually a thing that happens? Formatting madness sure, but randomly being directed to the front page of my domain?

    As I said, it happened when my post included any formatting at all. Why do you think mine was ‘a local problem’? It strikes me as being an obvious server-side problem. I’m sorry, but I don’t believe for a moment that using a different browser would have made a blind bit of difference.

    ANYWAY. Thanks for trying to help, even if I do disagree with almost everything you said.

    As it turned out the solution was this: I emailed tech support for the hosting company. Apparently they ‘disabled the mod_security for [my] domain.’ That fixed it. So if anyone else has a similar problem and manages to find this thread – try that.

    Yours was a local problem because it was happening to you and not to 469 million other WP users.

    Mod_security causes numerous different behaviors so it seems. I’m glad you worked it out.

    Thread Starter Oolong

    (@oolong)

    Oh, local like that. That makes more sense then. Yes, if it had 469 million other WP users I expect the solution would have been much easier to find, and I wouldn’t have bothered to ask here in the first place. Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Saving post doesn’t work, goes to front page’ is closed to new replies.