A WordPress-centric search engine for devs and theme authors

wp-includes/canonical.php ›

Canonical API to handle WordPress Redirecting

Function Short description
redirect_canonicalRedirects incoming links to the proper URL based on the site url.
redirect_guess_404_permalinkAttempts to guess the correct URL based on query vars
strip_fragment_from_urlStrips the #fragment from a URL, if one is present.
wp_redirect_admin_locationsRedirects a variety of shorthand URLs to the admin.
_remove_qs_args_if_not_in_urlRemoves arguments from a query string if they are not present in a URL DO NOT use this in plugin code.