How To Solve 404 Error Pages While publishing Post With WordPress

| January 16, 2010 | Comments (9)


This has been a constant head ache of me for quite sometime now, as soon as I upgraded my wordpress version to 2.9 everything seemed to work so smoothly until I had this problem over publishing my posts, everytime I try to publish a new post I would start to get a strange 404 error.

I tried different things to solve the problem but none seemed to have helped me combat this problem until I came across a thread in forums.digitalpoint.com here anyways I am not interested in annoying you by directing you to check out the solution there. So here is what you have to do.

Get to your wp-admin/ directory and if you already have a .htaccess file inside it then include this code mentioned below.

Now save the file and exit. That should solve the problem. If you don’t have a .htaccess file inside it, then try to create one and put the code in it and save. Hopefully that should solve your problem.

Tags: ,

Category: Blogging Tips

About Chakkravarthi: runs and maintains seoyourblog.com, he has written many articles concerning various topics including blogging, SEO and wordpress SEO. Feel free to subscribe to our RSS Feeds to receive the latest post updates. View author profile.

  • http://www.anadminsmind.info orc_dragoon

    I was having the same problem. I fixed mine with turning phpsafe off ( Which is safe :D ). I really do think wordpress needs to step up there game and get some of these errors gone though.
    .-= orc_dragoon´s last blog ..How to Make an “About Page” Short and Sweet =-.

    • seoguy

      hehe.. I really had hard time figuring out a solution for this problem, I am happy I found the solution because it was really frustrating at times. I just had to go through my drafts each time I post and publish it from there.

  • http://www.murlu.com Murlu

    Fantastic!

    I was running into this and was racking my brain how to fix it.

    I didn’t want to mess with the HTAccess file so what I did was post sections piece by piece, using process of elimination to figure out what was causing my post to get a 404.

    I guess it may have been a single sentence, not entirely sure. So I opted to omit it out and rework a bit of the post, then it went up :)
    .-= Murlu´s last blog ..Make Money Online By Uploading Files =-.

  • rajiv

    wp-admin/ directory

    what is this i wanna solve error 404

    • seoguy

      if you are running wordpress blog then you should able to locate wp-admin in your blog root. If you are not running wordpress then this solution is not for you.

      Hope that helps

  • http://www.conetactivity.com Ankit

    I get the same error as described but after applying your solution I am getting Internal 500 error.

    My .htacess file is as below.

    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    AuthName xyz.co.in
    AuthUserFile /home/rot19080/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/rot19080/public_html/_vti_pvt/service.grp

    # BEGIN WordPress

    # END WordPress

  • http://www.seoblighty.co.uk Huck@seo services london

    I used to get the same problem a last month and I tried a lot to find the solution but to no avail. Then I left it so for a couple of weeks and when I came back the problem was solved. I never understood what went wrong in the first place and what rectified it later. I thought that there had been some problem with wordpress itself, but we never know. Anyway, thanks for your code. I’ll definitely use it if I get the same problem again (I have saved it for future reference).

  • http://www.imodernlighting.com Nikita@Modern Lighting

    Good info. Was helpful to me as I have been getting into these 404 problems frequently because of my lack of proper knowledge of the internet.

  • Vikas Kapadiya

    nor working ..