WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Getting a 404 Error For My Pages (3 posts)

  1. ashrk
    Member
    Posted 2 years ago #

    OK, I'm really new to all of this and I'm reeeaaally confused. I'm just starting to create my blog, and I created an "About Me" page. But every time I try to access the page, whether it's by clicking "view" from the pages tab in admin or just typing in the URL, I get a 404 error. I have no idea how to resolve this. Any help would be much appreciated, I'm losing my mind over this!

  2. butcher-pl
    Member
    Posted 2 years ago #

    Check your .htaccess file and try to add this

    # BEGIN WordPress
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule . /index.php [L]
    # END WordPress
    
    Options +FollowSymlinks
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
  3. ashrk
    Member
    Posted 2 years ago #

    Turns out, I had to manually add a web.config file to the root directory when I changed the permalink settings. It tells you this when you change them, but of course, I didn't see that until just now. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags