WordPress.org

Ready to get started?Download WordPress

Forums

save button gives 404 post.php not found (6 posts)

  1. mouli
    Member
    Posted 7 years ago #

    Hi
    I have installed wordpress with the chenpress editor and it all works great until I click the save or publish button which gives a file not found error. I have my installation in a folder called 'blog' but the button is calling the file /wordpress/wp-admin/post.php whereas the correct path is /blog/wp-admin/post.php.
    All other links appear to work fine so where can I change the button behaviour.
    Any help much appreciated.

    mouli

  2. Austin Matzko
    Member
    Posted 7 years ago #

    Is the "WordPress address" correct under Options > General?

  3. mouli
    Member
    Posted 7 years ago #

    Hi filosofo,
    Sorry for the slow response. Yes I've checked the wordpress address and it shows correctly as http://www.mysite.com/blog.
    From the code it looks like its not getting the right urk from get_settings() function but I cant find where that function lives or where it gets its parameters from.

  4. Austin Matzko
    Member
    Posted 7 years ago #

    It's possible that a plugin could be changing it. Have you tried deactivating your plugins?

  5. mouli
    Member
    Posted 7 years ago #

    I'm using chenpress and possibly the problem started then.... well spotted. I tried disabling chenpress but the problem remained so maybe I need to change the url for the blog back to /wordpress/ instead of /blog/ then at least it will be the default and chen press may recognize it.

  6. angelchen1111
    Member
    Posted 7 years ago #

    Yea, it worked by turning off the damn mod_security.

Topic Closed

This topic has been closed to new replies.

About this Topic