WordPress doesn’t automatically suggest pages when a 404 occurs. Many themes have a 404.php template file that can effect what happens when an incorrect URL is entered. Maybe your theme has a 404 page. If you don’t want it to interfere, you could try deleting the 404.php.
REVISION:
OK, I understand your request now. The best I’ve been able to come up with is to add this to the functions.php file:
<?php remove_action( 'template_redirect', 'redirect_canonical' ); ?>
This is probably not a good idea, I’m sure it handles more than just suggesting a page when the URL given is a close match. If you want to mess around with the code to see what you can come up with, you can find it canonical.php core file located in wp-includes/canonaical.php.
Related Posts:
- How to force a 404 on WordPress
- Redirect Restricted Page to 404
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- How do I skip wordpress’s 404 handling and redirect all 404 errors for static files to 404.html?
- How do I programmatically generate a 404?
- How do I skip wordpress’s 404 handling?
- 404 redirection and Google’s index [closed]
- Redirect feed to 404 page
- Check if post is in draft or pending review?
- Why specific file directory fails to redirect but its parent folder succeeds?
- WordPress blocking/preventing viewing of .cgi file in subdirectory [closed]
- Deny access to a path (give 403 or 404 response)
- Redirect a page id url but not the page slug
- Defining a custom 404 for non-WordPress parts of site
- Built-In Postname Redirection vs Hard Redirects in relation to SEO and performance
- How to redirect a wrong search on my wordpress website to the error 404 page?
- WP page 404 error only on mobile
- Force 404 redirect to home?
- How can I redirect users on the new 404 page without plugin?
- How to redirect an old page url to the homepage
- Dynamic 404 page content while still keeping 404 status code?
- Redirect to home if page doesn’t exists [duplicate]
- Redirect to parent page if child does not exist
- How to redirect non existent pages/posts in wordpress using htaccess
- How to Redirect WordPress domain.com/?anyword to 404 Page?
- How do I redirect the browser to 404 page, if no posts are found in home page
- How do i make WordPress return 404 instead of redirecting on misspelled page?
- How to redirect if 404 error in wordpress then redirect 404.php url
- Redirect to /404/
- Page editing in backend redirecting to 404 page not found with url /post.php
- How do I skip wordpress’s 404 handling?
- Subpages return 404 server error
- WordPress subfolders htaccess bypassing the root htaccess RewriteRule
- Why my htacess rewrite return 404?
- How to Redirect Url to homepage?
- Stopping media file redirects
- Forcing header cache control in 404 pages
- redirect to 404 page
- Redirect certain 404 pages to parent page
- Redirect of specific words in URL ahead of website migration
- Logout redirect to home page
- Redirect page URL to home URL without using a plugin
- check first time login only
- How to change the default logout link on WordPress Admin
- How to setup 301 redirects for multiple query string URLs?
- Redirect to current page after wordpress login
- How does WordPress redirect to WooCommerce shop page? [closed]
- htaccess redirect not working
- 301 Redirect Custom URL hierarchy to WordPress Posts
- Plugin Redirect After Activation
- WWW to non WWW redirect effects on load speed
- Wp Login redirect strips parameters from url
- Mixed Content with SSL, wordpress behind a reverse proxy
- Strange redirection issues on wordpress from ssl with padlock to ssl without padlock
- Redirect away from login page
- Have functions work outside the loop with 404 override
- Redirect if $_Server[‘REQUEST_URI’] is /wp-login.php?checkemail=registered
- Redirect from home page to post list page?
- set up 301 redirect within wp-content/uploads/ directory of a WP site to a new image URL
- How to redirect user after login to a specific page?
- Redirect when accessing /login when logged in
- Make posts 410 dynamically
- Always redirect current user to certain page
- How to redirect to clean links with this code
- How can I make my WordPress site redirect to subdomain once successfully login they will redirect back to root domain
- wordpress_redirect returns different headers for HEAD and GET requests
- Login/Register redirect user with message
- Bedrock WordPress
- How to prevent redirect 301
- Redirect one domain to another
- Only execute function if SSL is set up properly
- How to redirect wp_login_form to new page after user loged in?
- How to redirect multiple subfolders back to root domain?
- How do I Redirect Tags from Old Joomla Site to New WordPress Site?
- How to redirect user after login to the page called by his first name?
- Redirect after get_delete_post_link
- Whenever I try to publish a post in wordpress, I always get redirected to the installation page…why?
- Login redirect to previous page
- Old missing file in wp-content/uploads/ returns a 500 error, how to catch and redirect?
- Relink Drupal Permalinks “…node/XXXX” to wordpress Permalinks (e.g./audio/)
- Hide a Post everywhere except on redirect
- Remove all feeds and return custom 404 page
- Redirect Image URL to it’s parent post
- Redirect user if they are logged in
- URL redirect regular expressions redirecting all after first viriable
- Redirect not work
- There is 1 redirect
- Redirect HTTP request to HTTPS request
- All new posts serving 301 redirect
- Redirect from plugin created page
- Woocommerce login to specific page or referrer
- Tag archive page not working
- Custom redirects with using SQL
- Custom Form Redirects to Post after Submit
- wp_login_form: Redirect to dynamic url according to username
- Plugin redirects URL structure using 301 redirect. Time to disable the plugin?
- URL is redirecting (301) when query string is passed through URL
- Plugin html-on-pages: URL not redirecting
- Redirect a WP to another with all URL
- Redirect to File attached to a Post using ACF