Title: No Random Posts
Author: Jono Alderson
Published: <strong>November 12, 2026</strong>
Last modified: November 12, 2026

---

Search plugins

![](https://ps.w.org/no-random-posts/assets/banner-772x250.png?rev=3798553)

![](https://ps.w.org/no-random-posts/assets/icon-256x256.png?rev=3798553)

# No Random Posts

 By [Jono Alderson](https://profiles.wordpress.org/jonoaldersonwp/)

[Download](https://downloads.wordpress.org/plugin/no-random-posts.1.1.4.zip)

 * [Details](https://wordpress.org/plugins/no-random-posts/#description)
 * [Reviews](https://wordpress.org/plugins/no-random-posts/#reviews)
 *  [Installation](https://wordpress.org/plugins/no-random-posts/#installation)
 * [Development](https://wordpress.org/plugins/no-random-posts/#developers)

 [Support](https://wordpress.org/support/plugin/no-random-posts/)

## Description

Visit `/random/` on your website, and WordPress will issue a 302 redirect to a randomly
selected public post.

That might sound harmless, but there are a few reasons that this can be a problem.

For starters, WordPress doesn’t necessarily limit its selection to ordinary blog
posts. Plugins frequently register custom post types for things like invoices, applications,
documents, or internal records. If those types are publicly accessible and have 
archives, they may also be eligible for random selection. There’s a `randomable`
setting to control this, but unless you’ve explicitly configured it, you might be
exposing content in ways you hadn’t anticipated.

Then there’s the SEO problem. Search engines and AI crawlers can discover `/random/`,
follow its redirects, and repeatedly encounter different content at the same address.`/
random/` can also be stuck on the end of other URLs, such as a category archive,
so the crawl is not one address. That’s hardly ideal if you’re trying to maintain
a predictable, well-structured website with sensible crawling and indexing behaviour.

And, of course, there’s a performance consideration. Selecting a random post requires
a database query, which can become increasingly expensive as your content grows.
An enthusiastic crawler repeatedly requesting `/random/`, including `/random/` appended
to other URLs, can generate a surprising amount of unnecessary work.

No Random Posts disables this behaviour entirely.

Activate the plugin, and requests to `/random/` return a proper 404 response. No
redirects, no random database queries, and no unexpected exposure of content through
this mechanism.

It’s deliberately minimal. There are no settings to configure, no database changes,
and no need to audit every custom post type to work out whether it’s eligible. It
also takes care not to interfere with legitimate content, so if you’ve actually 
created a page called `random`, that’ll continue to work normally. The same is true
of a post or term that already owns that address. If nothing else owns the path,
the request stays a 404.

The plugin is also backwards-compatible with WordPress versions before 7.2, where
it safely leaves existing behaviour alone.

One small plugin, one less piece of WordPress weirdness to worry about.

The feature is described in the core dev note from 5 November 2026: https://make.
wordpress.org/core/2026/11/05/your-content-is-going-to-get-more-random/

## Installation

 1. Upload the plugin to `/wp-content/plugins/`, or install the zip from the Plugins
    screen.
 2. Activate No Random Posts.

That’s the whole job. You don’t need to resave permalinks.

## FAQ

### Are there any settings?

No. There is nothing to configure. Activate the plugin and you’re done.

### Will /random/ return 404?

Yes, unless a real page, post, or term already owns that address. A page you’ve 
actually called `random` still works.

### Does it work before WordPress 7.2?

Yes. Older versions don’t have these URLs. The plugin safely leaves existing behaviour
alone, and it doesn’t crash.

### Does it store any data?

No. There are no database changes, no options, and nothing of its own to delete 
later. It doesn’t send email.

## Reviews

![](https://secure.gravatar.com/avatar/0efad54bc31f11ed3f23351968416154f703329232011e91ffd0739feaa60dc4?
s=60&d=retro&r=g)

### 󠀁[The Plugin We Shouldn’t Need](https://wordpress.org/support/topic/the-plugin-we-shouldnt-need/)󠁿

 [jtmdDev](https://profiles.wordpress.org/jsard/) November 12, 2026

Thank you for taking the time to develop this plugin. I was not looking forward 
to editing code on my 30+ website.

 [ Read all 1 review ](https://wordpress.org/support/plugin/no-random-posts/reviews/)

## Contributors & Developers

“No Random Posts” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Jono Alderson ](https://profiles.wordpress.org/jonoaldersonwp/)

[Translate “No Random Posts” into your language.](https://translate.wordpress.org/projects/wp-plugins/no-random-posts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/no-random-posts/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/no-random-posts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/no-random-posts/)
by [RSS](https://plugins.trac.wordpress.org/log/no-random-posts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.4

 * Force the `randomable` registration argument off for every post type, before 
   core defaults a public archive to eligible. Props peterwilsoncc.

#### 1.1.3

 * Released as 1.1.3.

#### 1.1.2

 * Readme notes that /random/ can be stuck on the end of other URLs.

#### 1.1.1

 * Tweak readme file.

#### 1.0.0

 * First release.

## Meta

 *  Version **1.1.4**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.2 or higher **
 * Tags
 * [permalinks](https://wordpress.org/plugins/tags/permalinks/)[privacy](https://wordpress.org/plugins/tags/privacy/)
   [redirects](https://wordpress.org/plugins/tags/redirects/)[seo](https://wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://wordpress.org/plugins/no-random-posts/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/no-random-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/no-random-posts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/no-random-posts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/no-random-posts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/no-random-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/no-random-posts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/no-random-posts/reviews/)

## Contributors

 *   [ Jono Alderson ](https://profiles.wordpress.org/jonoaldersonwp/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/no-random-posts/)