Why does WP redirect to main page? (3 posts)

  1. badhorsie
    Posted 8 years ago #

    If you try to go to a page within the WordPress system that doesn't exist:


    It always redirects the user to the wordpress index. How can I get rid of this functionality? I find it annoying and useless (how does that help a user who doesn't know their page doesn't exist?). It is overriding my htaccess 404 Not Found error and I would rather have that handle unfound pages, not WordPress.

  2. badhorsie
    Posted 8 years ago #

    OK, basically I have established that I want to stop WordPress being able to write anything to my .htaccess file. I went into wp-admin/options-permalink.php and set $writable to always be false, but that did nothing.

  3. haochi
    Posted 8 years ago #

    Well, then set .htaccess's permission to 444 or something.

Topic Closed

This topic has been closed to new replies.

About this Topic