Redirect URL to Post

Redirect to Post, Version 0.3

This update of the Redirect to Post plugin consists of three parts:

Option ‘default_redirect_to’

Until now, the default destination for the case that no post could be found was the blog’s home page (site_url). Now you can choose any other page or post by its ID. If it cannot be found, the home page will be used again.

Criteria ‘has_password’ and ‘tag_id’

More a side-effect of other changes, you can now use the criteria to restrict the search to posts that have (or don’t have) a password and by a tag id.

Bug fix

Certain conditions (depending on the order of filters executed and the interaction of other plugins – such as Jetpack with its CSS module) that were impossible to control from within the plugin could cause the loss of some of the query parameters. The only reliable way was to drop the get_query_var function and instead retrieve and sanitize the parameters “on foot”.

Photo by GotCredit

Check Out My Plugins:

Organize your tags in coherent groups and tidy up your tag cloud! Display your tags under tabs or in an accordion.

You will never want to go back to the times when your tags were all over the place.


Supercharge your tags! Tag your posts on two levels with tag groups. Filter your posts on the frontend. Let your visitors search in real time by tags and groups.

Go directly to your first, latest or a random post just by adding some magic words to your site's URL. Search posts by author, or category, or something else. Or combine a time frame with search parameters.