File: wp-includes/canonical.php
-
Filters whether to attempt to guess a redirect URL for a 404 request.
-
Short-circuits the redirect URL guessing for 404 requests.
-
Filters whether to perform a strict guess for a 404 redirect.
-
functionstrip_fragment_from_url()
Strips the #fragment from a URL, if one is present.
-
functionredirect_canonical()
Redirects incoming links to the proper URL based on the site url.
-
Filters the canonical redirect URL.
-
function_remove_qs_args_if_not_in_url()
Removes arguments from a query string if they are not present in a URL DO NOT use this in plugin code.
-
functionredirect_guess_404_permalink()
Attempts to guess the correct URL for a 404 request based on query vars.
-
functionwp_redirect_admin_locations()
Redirects a variety of shorthand URLs to the admin.