WordPress.org

Ready to get started?Download WordPress

Forums

Default Permalinks cause 404 errors? (5 posts)

  1. scvbrent
    Member
    Posted 4 years ago #

    Had trouble when installing wordpress, could login to site but then could not see the actual site. When typing in url you would see a 404 error.

    Somehow I figured out that if I set the permalinks to numeric, the site works fine.

    What would cause this??

  2. Inspired2Write
    Member
    Posted 4 years ago #

    Try resetting the permalinks in your dashboard and see if that fixes your issue. Also, did you install any plugins that may be causing the issue, or a theme that is not compatible with your wp version? Revert back to the WP default theme, if you're using a different one, and see if that helps. Also, here's more info:
    http://codex.wordpress.org/Using_Permalinks

  3. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Reset your desired permalink from wordpress admin area and then add this code in htaccess of your blog/site:

    # 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

    Now, check with blog posts/pages.

    Thanks,

    Shane G.

  4. scvbrent
    Member
    Posted 4 years ago #

    I dont have an htaccess file??

    Should I create one?

  5. Inspired2Write
    Member
    Posted 4 years ago #

    scvbrent,
    Did you look in the files listed under WP? You should find it there. Same area as your wp-config.php file.

Topic Closed

This topic has been closed to new replies.

About this Topic