WordPress.org

Support

Support » How-To and Troubleshooting » 404 Error on EVERY page?

404 Error on EVERY page?

  • When I go create a page, publish, it’s all fine.
    I will go to the site and click on a additional page, and it will give me a 404 Error message that says the page doesn’t exist. WTF?
    This is annoying. Reading through, it seems to happen a lot here.

    What’s the deal? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Bump

    Hi,

    Set your desired permalink from wordpress admin area -> settings -> permalinks and then add this code in htaccess:

    `# BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress`

    Thanks,

    Shane G.

    Do I need to change the permissions to write this?
    If so, .htaccess was not there.

    esmi

    @esmi

    Forum Moderator

    Do I need to change the permissions to write this?

    Yes. Once your htaccess file is writable, set your permalink structure back up again and WP add the correct ReWrite rules to your .htaccess file.

    Like I said, the .htaccess file was not there.
    What would it be in? I might have missed it.

    Once I found the .htaccess file, it seems like it’s not an actual file, but a folder. What file inside .htaccess do I need to change?

    Bump

    esmi

    @esmi

    Forum Moderator

    It’s not a folder. It’s a text file.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘404 Error on EVERY page?’ is closed to new replies.
Skip to toolbar