🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Random Post Plugin – Redirect URL to Post icon
Slowing down Tested up to 6.8.13 #10 in filter

Random Post Plugin – Redirect URL to Post

Features | Examples | Documentation | Latest Development Blog Post

Active installs3K+1K+ tier
Downloads · 30d716▲ +71.3% vs prev. 30d
Rating5/520 reviews
Health score54/100Fair
All-time downloads86.3KSince May 2015
Support resolved—No recent threads
RequiresWP 4.9PHP 8.0+
Downloads · 7d282▲ +97.2% week over week
Our verdict

Use with caution

Random Post Plugin works, but test it on a staging site before relying on it in 2026. It runs on 3K+ sites, is rated 5/5 and was last updated 1 year ago, and scores 54/100 on our health check.

  • Loved by users — 5/5 from 20 reviews
  • Momentum — downloads up 71.3% vs the previous 30 days
  • No update in over a year
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

183654Sep 4Oct 18Dec 2
Yesterday73
Daily average (1y)11
Peak day73Dec 2, 2026
Last 12 months3.9K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Random Post Plugin stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
filter >100 10,000 Best filter plugins →
random #22 4,055 Best random plugins →
random post #14 2,512 Best random post plugins →
recent >100 5,309 Best recent plugins →
redirect #82 8,589 Best redirect plugins →

Version adoption

Share of active sites per release.

  • 0.2588.2%
  • Other11.8%

Rating breakdown

★★★★★★★★★★ 5 from 20 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Random Post Plugin

From the official readme · v0.25.0

Description

Redirect your visitors to

  • a random post
  • your last (latest) post
  • your first (oldest) post
  • the previous or next post
  • or a combination of conditions, for example a random post among your last 10 posts, or the latest post from at least 3 months ago, or the latest post of a specific author.

Features | Examples | Documentation | Latest Development Blog Post

A magic URL takes you to the right post

This plugin provides a URL (link) that takes you directly to a post in single-post view. This post is determined by the query parameter ?redirect_to= and optional others.

While the URL remains the same, its target changes depending on the available posts at the time when somebody enters it. That means you can use the same static URL in a menu, with a button or in a newsletter and the plugin finds out the correct target.

Simply enter the URL of your WordPress site into your browser and add ?redirect_to=… to the end.

Possible values for redirect_to are:

  • last or latest – The URL will redirect to the last (latest) post.
  • first or oldest – The URL will redirect to the first (oldest) post.
  • random – The URL will redirect to a random post.
  • prev or previous – The URL will redirect to the previous post (by date).
  • next – The URL will redirect to the next post (by date).
  • custom – The post will be determined according to the mandatory parameter orderby and the optional parameter order.

You can also limit the scope of considered posts by additional filter parameters, such as &s=searchaword or &cat=2, or use an offset to go to the second latest or to the post before the previous. The parameter random combined with count and bias lets you pick the latest (or oldest) posts with a different probability than the rest.

Caching

The plugin offers caching of database results.

Settings and Parameters

There is no settings page in the backend. You configure the plugin entirely through the query parameters in the URL.

Please find more information about parameters and troubleshooting on the plugin website.

Examples for URLs

Note: Replace “http://www.example.com/” with your own website location. Spaces are written as “%20”.

http://www.example.com/?redirect_to=latest – redirects to the latest post

http://www.example.com/?redirect_to=random&pk_campaign=random – redirects to a random post and tracks the visit

http://www.example.com/?redirect_to=prev – redirects to the previous post

http://www.example.com/?redirect_to=random&each_once=rewind – redirects to a random post, avoiding duplicates, and then starts over again

http://www.example.com/?redirect_to=prev&offset=1 – redirects to the post before the previous post

http://www.example.com/?redirect_to=random&count=10 – redirects to a random post among the 10 latest posts

http://www.example.com/?redirect_to=random&count=10&bias=80 – redirects to a random post. The plugin picks one from the latest 10 with a probability of 80% and from the rest with a probability of 20%

http://www.example.com/?redirect_to=random&count=10&offset=1 – redirects to a random post among the 10 posts that come after the latest

http://www.example.com/?redirect_to=random&after=1%20month%20ago – redirects to a random post among the posts that are not older than 1 month

http://www.example.com/?redirect_to=latest&exclude=4,7 – redirects to the latest post, excluding the posts with the IDs 4 and 7

http://www.example.com/?redirect_to=latest&offset=1 – redirects to the second latest post

http://www.example.com/?redirect_to=custom&orderby=comment_count&order=DESC – redirects to the post with the most comments

http://www.example.com/?redirect_to=latest&s=iaido&default_redirect_to=12&cache=200 – redirects to the latest post that contains the word ‘iaido’ or, if nothing can be found, to the page or post with the ID 12; use a cache with a 200 second lifetime

Button

The plugin also provides a shortcode [redirect_to_post_button] to create a simple button. Some parameters are available.

A button that links to a random post is a great way to increase your visitors’ on-site engagement and therefore your SEO ranking!

(video by WPBeginner)

If you find this plugin useful, please give it a 5-star rating. Thank you!

Installation

  1. Find the plugin in the list at the admin backend and click to install it. Or, upload the ZIP file through the admin backend. Or, upload the unzipped redirect-url-to-post folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

After the first activation you will find a screen with some examples of URLs for your blog.

Changelog

0.25.0

Features

  • New parameter fragment

0.24.0

Features

  • New query parameters to search for custom fields (post meta): meta_key, meta_value, meta_value_num and meta_compare
  • New parameter loop=1 in connection with redirect_to=prev or redirect_to=next to loop back to the last or first post at the end

0.23.0

Features

  • The cache is automatically cleared when a post is updated
  • We don’t reveal the database table prefix in debugging

0.22.0

Features

  • Option to delete the cache (for a particular set of parameters) with cache=-1 (here too, the constant CHATTY_MANGO_RUTP_CACHE takes priority)

Other

  • Added the actual database request to the debugging output

0.21.0

Features

  • Paramter post_type can also be a comma-separated list

0.20.0

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Random Post Plugin alternatives

All filter plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 HUSKY – Products Filter for WooCommerce Professional. MCP is onboard HUSKY HUSKY - WooCommerce Products Filter (former WOOF) – filter by categories, attributes, price… by PluginUs.NET 80K+ ★★★★★★★★★★ 4.6 (338) 2 days ago 94
2 Search & Filter Search & Filter Search and Filtering for Custom Posts, Categories, Tags, Taxonomies, Post Dates and Post… by Code Amp 40K+ ★★★★★★★★★★ 4.5 (175) 3 months ago 68
3 Allow HTML in Category Descriptions Allow HTML in Category Descriptions This plugin allows you to use unfiltered HTML in your category descriptions by disabling… by Arno Esterhuizen 8K+ ★★★★★★★★★★ 5 (41) 9 months ago 61
4 Jetpack Search Jetpack Search Easily add cloud-powered instant search and filters to your website or WooCommerce store… by Automattic 5K+ ★★★★★★★★★★ 4.5 (10) 4 weeks ago 79
5 YMC Filter YMC Filter A powerful and flexible plugin to filter and display posts, custom post types, and other… by YMC 4K+ ★★★★★★★★★★ 4.8 (34) 2 weeks ago 92
6 WP Ultimate Post Grid WP Ultimate Post Grid Easily create filterable responsive grids for your posts, pages or custom post types by Brecht 4K+ ★★★★★★★★★★ 4.4 (33) 1 week ago 86
7 Filter Orders by Product for WooCommerce Filter Orders by Product for WooCommerce Simplify order management by filtering WooCommerce orders by any specific product or… by Kowsar Hossain 4K+ ★★★★★★★★★★ 4.7 (15) 5 months ago 68
8 Advanced Post Manager Advanced Post Manager Turbo charge your posts admin for any custom post type with sortable filters and columns… by Nexcess 4K+ ★★★★★★★★★★ 3.5 (11) 2 weeks ago 67
9 Query Filter Query Filter Advanced taxonomy and Custom Fields CPT filtering plugin. by marsjaninzmarsa 4K+ ★★★★★★★★★★ 1 (1) 11 years ago 24
11 Events Search & Filter Bar for The Events Calendar Events Search & Filter Bar for The Events Calendar Event search and filter bar for The Events Calendar. Add an event search box, date filters… by Narinder Singh 3K+ ★★★★★★★★★★ 4.8 (29) 2 weeks ago 91

FAQ

Random Post Plugin: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Random Post Plugin free?

Yes. Random Post Plugin is free to download and use from the official WordPress.org plugin directory.

Is Random Post Plugin safe to use in 2026?

Random Post Plugin works, but test it on a staging site before relying on it in 2026. It runs on 3K+ sites, is rated 5/5 and was last updated 1 year ago, and scores 54/100 on our health check.

How many websites use Random Post Plugin?

Random Post Plugin is active on 3K+ WordPress websites and has been downloaded 86,322 times since it launched in May 2015. It was downloaded 716 times in the last 30 days.

Does Random Post Plugin work with WordPress 7.1?

Random Post Plugin is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Random Post Plugin need?

Random Post Plugin requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Random Post Plugin last updated?

The latest version, 0.25.0, was released on June 8, 2025 (1 year ago).

Who makes Random Post Plugin?

Random Post Plugin is developed and maintained by Christoph.

What are the best alternatives to Random Post Plugin?

The most popular alternatives to Random Post Plugin are HUSKY (80K+ installs), Search & Filter (40K+ installs) and Allow HTML in Category Desc… (8K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open