WordPress.org

Support

Support » How-To and Troubleshooting » Why does WP redirect to main page?

Why does WP redirect to main page?

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

    http://www.example.com/wordpress/non_existent_url/

    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.

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

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why does WP redirect to main page?’ is closed to new replies.
Skip to toolbar