Support » Fixing WordPress » Getting a 404 Error For My Pages

  • Resolved ashrk

    (@ashrk)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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>

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting a 404 Error For My Pages’ is closed to new replies.