WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/redirect guess 404 permalink

Contents

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