• Resolved taffyc

    (@taffyc)


    Hi There,

    This just started happening to me today. When I create a new post I can enter content and save fine (I haven’t published yet) but when I add a link (any kind – internal or external) when I try to save the page redirects to one with a URL of:

    My URL/wp-admin/post.php

    And I get this message on the page:

    404 | Page Not Found!
    Sorry, but the page you were looking for is not here.

    When I go back to the previous page I am returned to the post-writing page and the link has not been saved.

    I’ve tried logging out and back in, clearing browser cache, etc but no change. I can save any changes fine – just not links.

    I’ve been running this site for years and have never seen this problem. Any clues appreciated!

    Thanks …. TC

Viewing 5 replies - 16 through 20 (of 20 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    esmi – It’s … not the single link, it’s a word in the link, and .. yeah, they do ?? Spent a week agonizing why the word ‘FROM’ killed me.

    taffyc – Are you sure they said to modify the post.php file and not to edit the mod_security rule to exclude post.php? That’s what we did on my box.

    I edited /usr/local/apache/conf/modsec2/whitelist.conf to have this:

    ## WordPress
    <LocationMatch "/wp-admin/post.php">
    SecRuleRemoveById 300015 300016 300017
    </LocationMatch>
    <LocationMatch "/wp-admin/admin-ajax.php">
    SecRuleRemoveById 300015 300016 300017
    SecRuleRemoveById 300013
    </LocationMatch>
    <LocationMatch "/wp-admin/page.php">
    SecRuleRemoveById 300015 300016 300017
    </LocationMatch>

    Thread Starter taffyc

    (@taffyc)

    Thanks a bunch – I have asked them to make this change. I guess I should figure out how to do this for myself.

    Question – with these changes did you stop seeing wp security issues? I have another problem which comes up sometimes when using the flash media uploader – I see a red “HTTP Error” when I’m trying to upload. But only from some browsers. I seriously love the liquidweb service and support but this wp security on their servers is a bit like peeling back an onion.

    Thread Starter taffyc

    (@taffyc)

    Ipstenu – those changes did the trick perfectly – thank you SOOO much!! They also whitelisted Shockwave Flash user-agent for wp-admin/async-upload.php to kill my flash media uploader “http Error” problem.

    TC

    esmi – It’s … not the single link, it’s a word in the link

    Ah! Now I understand. Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Mod_security is my nemisisis. ??

    They also whitelisted Shockwave Flash user-agent for wp-admin/async-upload.php to kill my flash media uploader “http Error” problem.

    Now that’s a fix I’m saving in my bag ‘o tricks! I only have the problem from work (where my firewall doesn’t like flash).

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘404 Not Found Eror when saving post with hyperlink added’ is closed to new replies.