WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/redirect guess 404 permalink

Description

Attempts to guess correct post based on query vars.

Usage

<?php redirect_guess_404_permalink(  ); ?>

Return Values

(boolean|string) 
Returns False, if it can't find post, returns correct location on success.

Change Log

Since: 2.3

Source File

redirect_guess_404_permalink() is located in wp-includes/canonical.php