Jun 05 2008

WordPress 404 Not Found Problem

Jianjun
Published by Jianjun at 6:54 am under Software

[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Ma.gnolia] [MySpace] [Newsvine] [Reddit] [Sphere] [StumbleUpon] [Technorati]

WordPress 404 Not Found ProblemI stayed up late last night and was up early this morning. But it didn’t help with my WordPress blog’s ’404 Not Found’ problem.

Actually it happened yesterday afternoon when I installed a plug-in that tampered with my .htaccess file. The install document was so badly written in some sort of English that in the end I was driven nuts and uninstalled it. I manually removed the part that it inserted into my .htaccess, but didn’t realize I probably mistakingly deleted/altered some of the old codes along the way.

The home page looked fine but all permalinks returned a ’404 Not Found’ error – and I didn’t find that until this morning when I checked visitor statistics! If you experience a similar problem, i.e. you can visit the home page of your database driven site (not necessarily WordPress) but each individual page returns a ’404 Not Found’ error, check your .htaccess file. It’s not your database problem.

18 responses so far

18 Responses to “WordPress 404 Not Found Problem”

  1. DSvTon 10 Jul 2008 at 10:31 am

    can it support chinese character now?

    Reply

    Jianjun reply on July 10th, 2008 4:15 pm:

    Yup WordPress supports Chinese.

    Reply

  2. JamesBon 12 Aug 2008 at 3:28 am

    So what am I looking for as this is exactly what is happening to me and I was about to do a database export, move to new server, etc to try and get this fixed.

    Reply

  3. Armandoon 08 Nov 2008 at 7:06 am

    Hola, tengo un problema con mi blog WordPress NO tiene salida por Internet… ¿Qué sucede y que puedo hacer?

    Gracias

    Reply

  4. Simonon 06 Feb 2009 at 3:49 pm

    I have exactly the same problem…but I can’t find the .htaccess file – not too good with databases! Where do I find it??

    Reply

    Jianjun reply on February 6th, 2009 3:56 pm:

    The .htaccess file should be under the ROOT directory. Your host should be able to help locate it. Good luck.

    Reply

  5. Alon 24 Mar 2009 at 11:04 pm

    I’m having the same problems on a WP-based website I’m building… .htaccess file is fine, it looks exactly the same as in another WP blog I have. Any thoughts?

    Reply

  6. Jessicaon 16 Apr 2009 at 2:28 pm

    Oh man, this post saved my life! Thank you for this.. I had the same problem and was beginning to freak out.

    Reply

  7. Lantrixon 20 May 2009 at 12:38 am

    In my case after a move of my site, I checked and double checked and it was NOT the .htaccess
    instead, the new apache httpd.conf had:

    AllowOverride None

    I changed it to:

    AllowOverride All

    and did an apache stop/start. Problem solved, and the .htaccess started applying again.

    Reply

  8. Brian Gon 30 May 2009 at 4:47 am

    Thanks for this. I only wish I would have found your post before trying everything else. I have posted your link in delicious in hopes that the next guy will find it sooner. Thanks again, Bg

    Reply

  9. Anthonyon 06 Jul 2009 at 9:36 pm

    Quote: “In my case after a move of my site, I checked and double checked and it was NOT the .htaccess
    instead, the new apache httpd.conf had:
    AllowOverride None
    I changed it to:
    AllowOverride All
    and did an apache stop/start. Problem solved, and the .htaccess started applying again.”

    Question: Where do I find this file. Under what root? I have the same problem.

    Reply

  10. Fistukon 08 Jul 2009 at 7:41 pm

    I had it as well from a plugin called redirection.

    At first I thought it was the theme since when I switched my theme to the classic wp theme, everything worked find, but no matter what other themed I tried to install other than that it will give a 404.

    Finally I started playing with the plugins and I found out it was that.

    Reply

  11. ross cowmanon 18 Oct 2009 at 1:32 am

    I deleted my .htaccess (WP automatically replaces it) and upated my permalink structure to fix this problem.

    Reply

  12. MyDesignerGuyon 10 Apr 2010 at 5:45 am

    Thanks to Ross for the idea about updating the permalinks. I found myself having the same problem and freaking out about all but the home page being 404′d. What I did was deactivate all the plugins- didn’t work. Changed the theme to one of the basic themes included in WP. Nope, same problem. Activated the desired theme, went to on of the pages and clicked update. This worked. Whew.

    Reply

  13. Jackon 12 Jun 2010 at 10:50 pm

    Correction from last post:

    I had the same problem and changed this under the permalinks tab:

    /%category% %postname%

    To this

    /%category%/%postname%/

    Reply

  14. PSdesignon 07 Jul 2010 at 6:31 pm

    In my case, i got 404 because of the permalinks. To fix this, just:

    In your Permalinks options, set your “Custom Structure” to

    /%category%/%postname%/

    and your “Category Base” to

    /.

    Reply

  15. Scotton 22 Jul 2010 at 7:36 am

    Just ran into this issue using WAMP, simply check the ‘rewrite_module’ under the Apache -> Apache Modules menu and the problem evaporates.

    Reply

  16. hectoron 30 Aug 2010 at 8:49 am

    I have exactly the same issue. I am new to wordpress and have the following in my .htaccess file

    # BEGIN WordPress
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

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

    # END WordPress

    I have set it to 666

    I have my permalinks set at /%category%/%postname%/
    I have my site hosted on 1and1

    All my catagoy links get 404 errors !!

    I have hardly slept from tyong to figure it out over the last 3 days.

    Can anyone help ?

    Reply

Trackback URI | Comments RSS

Leave a Reply