Redirect URL to Post

Redirect URL to Post, Version 0.11: Random With Bias

dice

This version of the free WordPress plugin Redirect URL to Post comes with a new feature: You can now pick a random from all posts with a bias on a certain subsample.

You determine the subsample as before with the parameters count and (optionally) offset. Normally, the random post would be picked from this subsample. If you, however, also use bias, the random post can be any of all posts. Those posts among the subsample will be more likely with a percentage1 as defined in bias.

Examples:

www.example.com/?redirect_to=random&count=10&bias=80

With a probability of 80%, the random post will come from the most recent 10 posts.

www.example.com/?redirect_to=random&count=-10&offset=5&bias=50

With a probability of 50%, the random post will come from the oldest 10 posts, shifted by 5 posts from the end.

Install the plugin from the administration of your site or download it from WordPress.org.

Photo by annca


Show 1 footnote
  1. Just write the number, without the % sign.
Share

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.

FREE

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.

FREE

Leave a Reply

Your email address will not be published. Required fields are marked *

Christoph