Support » Fixing WordPress » 404 error but page displays HELP

  • All my pages are returning 404 error code but page still displays.
    This happens when I have permalinks enabled only.

    Any ideias?

Viewing 2 replies - 1 through 2 (of 2 total)
  • How curious. What’s in your .htaccess?

    I’m experiencing a similar problem. see here

    This is my .htaccess file under the blog/ directory in my site root:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    # END WordPress

    I have WP installed under blog/ directory in my site root.
    The pages under blog/ and / actually don’t return 404 code. Instead all pages that are under different directories return 404 code:

    /var/www/site/ (200/OK)
    /var/www/site/blog/ (200/OK)
    /var/www/site/anyotherdir (404/ERROR) – not indexed by search engines but still able to see on browser

    If I disable pretty permalinks the problem goes away.

    hel apreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 error but page displays HELP’ is closed to new replies.