[resolved] New page 404 (5 posts)

  1. NWTD
    Posted 5 years ago #

    Permalink structure is /%postname%/

    When my permalink structure is set to anything but the default, I get a 404 error on all pages except for the home page.

    I did verify that my .htaccess has

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Any suggestions on fixing the problem without the use of a plugin?

  2. Is your .htaccess in the right location?

    Is there anything in your error logs?

    Have you asked yoru host if you can use .htaccess in this way?

  3. NWTD
    Posted 5 years ago #

    .htaccess is in the root of the WordPress directory

    The error I see is:
    [Tue Aug 30 11:32:08 2011] [error] [client] File does not exist: /var/www/electric, referer:

    This is a server that I built for test with just LAMP

  4. Aha :)

    Make sure mod_rewrite is turned on in LAMP.

  5. NWTD
    Posted 5 years ago #

    that fixed it. thanks for catching it!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.