The plugin Redirect URL to Post works invisibly in the background. When it is active, all URLs that contain certain parameters redirect to a post that is determined by these parameters. The result depends on the available posts at the time when the redirect happens. For example, the oldest post of the past month can be different today and tomorrow.

You can use the resulting URL as a link, in a menu or a button, or you can even send it around in a newsletter. If your visitors load this URL, they will immediately be redirected to a post in single-post view.


The most important parameter is “redirect_to”. It basically determines a sort order of all relevant posts. We redirect to the post that ends up on top of that ordered list.

Then you can also use search parameters that filter all posts so that we can narrow them down to a specific subsample.

Lastly, we have other parameters that determine for example what will happen if no post was found at all, caching time or tracking.

The URL is composed according to the following pattern:

[your WordPress site's URL]?redirect_to=[sort_order]&[further_parameter]&[further_parameter]...

If you anywhere need to use spaces, you have to write them as %20.

So you could end up with an URL like:


You can get some inspiration about what is possible on the page with redirect examples.

How do you rate this article?