WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Default page for 404s (4 posts)

  1. biffta
    Member
    Posted 7 years ago #

    Hey! My htaccess access file works fine with the exception of dealing with 404s. It seems when you enter a 404 url into my site it automatically redirects you to my homepage. I would not like this to be the case, I would prefer an error page, but I cannot determine which part of the htaccess is responsible for doing this?

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

  2. spencerp
    Member
    Posted 7 years ago #

    Will something here help maybe? Or, maybe try finding a similiar thread to your's over here? Good luck!

    spencerp
    /Yeah, I know.. trying to get people to use the "Tags" and such around here.. LOL! =P

  3. biffta
    Member
    Posted 7 years ago #

    I found this link to be what I needed:
    http://codex.wordpress.org/Creating_an_Error_404_Page

    Thanks.

  4. spencerp
    Member
    Posted 7 years ago #

    Oh ok, glad to hear you found something that will work. =)

    spencerp

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags