• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/canonical.php

pre_redirect_guess_404_permalink

Filter Hook: Short-circuits the redirect URL guessing for 404 requests.

Source: wp-includes/canonical.php:915

Used by 1 function | Uses 0 functions

strict_redirect_guess_404_permalink

Filter Hook: Filters whether to perform a strict guess for a 404 redirect.

Source: wp-includes/canonical.php:930

Used by 1 function | Uses 0 functions

do_redirect_guess_404_permalink

Filter Hook: Filters whether to attempt to guess a redirect URL for a 404 request.

Source: wp-includes/canonical.php:900

Used by 1 function | Uses 0 functions

strip_fragment_from_url()

Function: Strips the #fragment from a URL, if one is present.

Source: wp-includes/canonical.php:849

Used by 2 functions | Uses 1 function

redirect_canonical()

Function: Redirects incoming links to the proper URL based on the site url.

Source: wp-includes/canonical.php:42

Used by 1 function | Uses 76 functions

redirect_canonical

Filter Hook: Filters the canonical redirect URL.

Source: wp-includes/canonical.php:789

Used by 1 function | Uses 0 functions

_remove_qs_args_if_not_in_url()

Function: Removes arguments from a query string if they are not present in a URL DO NOT use this in plugin code.

Source: wp-includes/canonical.php:823

Used by 1 function | Uses 1 function

redirect_guess_404_permalink()

Function: Attempts to guess the correct URL for a 404 request based on query vars.

Source: wp-includes/canonical.php:886

Used by 1 function | Uses 15 functions

wp_redirect_admin_locations()

Function: Redirects a variety of shorthand URLs to the admin.

Source: wp-includes/canonical.php:990

Used by 0 functions | Uses 8 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry