The WordPress 7.2 random redirect is a new feature that sends anyone who visits yoursite.com/random/ to a randomly selected published post — and it is switched on by default when you update. The direct answer: you do not need to turn it on, and there is no dashboard toggle to turn it off. If you do nothing, the redirect is live the moment you update to WordPress 7.2. If you do not want it, you need a small code snippet in a must-use plugin: add_filter( ‘wp_enable_random_content_redirect’, ‘__return_false’ ); and then flush your rewrite rules. This guide explains what /random/ does, what it can surface that you would rather keep quiet, and the decision to make before you click update.
The facts here come from Search Engine Journal’s WordPress 7.2 Arrives Dec. 8 – Last-Minute Changes Still Being Made (19 November 2026) and the Make WordPress Core developer note Your Content Is Going To Get More Random! (5 November 2026). The link-building angle is our own.
What is the WordPress 7.2 random redirect?
The WordPress 7.2 random redirect is a new way for a visitor to stumble across your content. When someone visits yoursite.com/random/, WordPress picks one of your published posts at random and redirects the visitor there with a 302. It is a discovery feature: instead of searching or browsing, the visitor gets a surprise post.
The redirect is not limited to the site’s root: versions of it also work inside categories, tags, author archives and eligible custom post types, so a visitor can ask for a random post from one slice of your site. The base word is translatable, and a new Permalinks field lets you change it.
There is also a query-variable form: the ?random query variable works on the home page and on archives, so yoursite.com/?random sends a visitor to a random post from the home page. Before this feature, a site that wanted a “random post” button needed a plugin or custom code. WordPress 7.2 puts it in core instead.
Is the WordPress 7.2 random redirect really on by default?
Yes — and that is the part of the release that has caused the most argument. There is no checkbox in the dashboard, no setting under Settings > Permalinks, and no toggle in the writing settings. Updating to WordPress 7.2 turns the redirect on for every site, and the only way to turn it off is code.
The code is short. Add this line to a must-use plugin:
add_filter( 'wp_enable_random_content_redirect', '__return_false' );
After adding it, flush the rewrite rules at Settings > Permalinks. Until the rules are flushed, the redirect can still respond. If you are not comfortable adding a must-use plugin, ask your developer to do it before the update — once the update is live, the redirect is live too.
Be careful about one trap: the November developer-blog roundup spelled the filter name wrong — wp_enable_random_content_direct — and that name is not used anywhere in the code. Copying it has no effect: the redirect stays on and nothing tells you the filter failed. Use the correct name, wp_enable_random_content_redirect, and test it in a private browser window.
What can /random/ actually surface — and what does it skip?
The redirect picks from published posts that do not have a password. That rule is narrower than it first sounds — but also wider than many site owners expect. Pages and attachments are not eligible, so a visitor will never land on a page or a media file through /random/. Only posts are in the pool.
Custom post types are where the rule gets interesting. A custom post type is eligible if it is publicly queryable, has archives, and the developer has not registered it with 'randomable' => false. Many plugins register types that meet the first two conditions without ever thinking about the third, because until WordPress 7.2 there was no reason to. Types built for a narrow purpose can enter the random pool without anyone choosing it.
| Behaviour | What /random/ does |
|---|---|
| Published posts without a password | Eligible |
| Pages | Not eligible |
| Attachments (media files) | Not eligible — never served by /random/ |
| Custom post types (publicly queryable, with archives) | Eligible unless registered with ‘randomable’ => false |
| Draft, scheduled and private posts | Not eligible |
| Password-protected posts | Not eligible |
| Posts set to noindex by an SEO plugin | Still eligible |
| Redirect response itself | 302 with no-cache headers and X-Robots-Tag: noindex, follow |
One row deserves a closer look. The redirect answers with a 302, no-cache headers, and an X-Robots-Tag: noindex, follow header, which tells search engines not to index the /random/ URL itself. But the header does not carry to the post the visitor lands on.

Why does the noindex problem matter?
Here is the risk that should make every site owner pause. The WordPress 7.2 random redirect does not automatically skip posts that an SEO plugin has set to noindex. A post you deliberately kept out of search results — an old landing page, a thin archive entry, a duplicate — is still in the pool, and a visitor who hits /random/ can land on it as easily as on your best work.
This is not a hypothetical edge case: a commenter on the developer note raised exactly this point, and as of 16 November there had been no response. The feature, as shipped, simply does not check the noindex status that SEO plugins set — and the noindex header on the redirect’s own response applies to the redirect URL, not to the post the visitor reaches.
A noindex post is usually noindexed for a reason: it is outdated, it is a duplicate, or it is a thin page that does not represent the site well. None of those reasons disappears because a visitor arrived through a random link instead of a search result. For a small blog, the risk is small; for a site with hundreds of posts and several noindexed entries, it is real — and invisible until someone lands on the wrong post. Audit what is published before you update.
What happens if you already have a page called “random”?
If a published page — or a post, when post-name permalinks are in use — already has the slug “random”, that page overrides the redirect: a visitor to yoursite.com/random/ sees your page, not a random post. The developer note suggests a different base word in that situation, such as “shuffle”, via the new Permalinks field. Check before you update: search pages and posts for the slug “random”.
How did the WordPress 7.2 random redirect get here?
It first appeared on 21 September as an opt-in ?random query, controlled by a filter called enable_random_content_redirect. Two days later it was reverted. It returned on 16 October as /random/ rewrite rules turned on by default, and it was added to Beta 1 on 20 October — from opt-in experiment to default-on core feature in less than a month.
The default-on decision drew public criticism. Joost de Valk, the founder of Yoast, called turning it on by default “a horrible idea” and worried that people would “randomly end up on invoices, offers, client specific pages”. His concern is the same one this article raises.
Matt Mullenweg agreed with part of the criticism: he said the feature “should not use page URL structure” and that the request was just for /?random at the root — the simple query form, not a pretty URL that can collide with pages and posts. But agreement in a comment thread is not a change in the code: as of 17 November, no maintainer had changed the default or the URL structure, and the feature was still heading into the release switched on, at /random/.
What about performance and caching after the update?
Early versions raised a performance worry: sorting the whole archive at random is expensive on a large site. A fix landed on 17 November. Instead of sorting the archive, the feature now looks up random post IDs, which the developer note describes as keeping “the cost of a request independent of the number of posts”. Sparse archives fall back to a cached pool of up to 1,000 randomly ordered posts, reusable for 10 minutes by sites with a persistent object cache.
That is a genuine improvement — but still watch the feature after updating. The developer note suggests watching for repeated hits on /random/ in your server logs: a sudden stream may mean a bot has found it. There is one more quirk: on sites behind a page cache or a CDN, /random/ can return a 404 right after the upgrade until the rewrite rules are flushed. Core flushes the rules on the first wp-admin request after the upgrade, per site on multisite, so the window is short — but purge the page cache after your first admin visit, so a cached 404 does not linger.
How to turn off the WordPress 7.2 random redirect
If the feature is not for your site, the fix is a short checklist, done before the update where possible. Work through it in order.
- Check your custom post types. List every custom post type and note which are publicly queryable with archives — those are in the pool unless registered with
'randomable' => false. Ask your developer to add that flag to any type that should never be surfaced at random. - Check for a “random” slug. Search pages and posts for the slug “random”. If one exists, decide now: keep the page and rename or disable the redirect, or rename the page and let /random/ take the URL.
- Decide: keep, rename or disable. Keep it if your published pool is clean. Rename the base — “shuffle” is the suggestion in the developer note — if you want the feature without the collision. Disable it if the pool contains noindexed posts, client-specific content or anything you would not show a stranger.
- Add the must-use plugin. To disable it, add
add_filter( 'wp_enable_random_content_redirect', '__return_false' );to a must-use plugin. Check the filter name character by character — the misspelled version from the November roundup does nothing. - Flush the rewrite rules. Visit Settings > Permalinks after the update, and again after adding the filter. Until the rules are flushed, the redirect can still respond.
- Purge the page cache. Purge the page cache and the CDN cache after your first admin visit, so a cached 404 on /random/ does not linger.
- Watch the logs. For the first week, check your server logs for repeated hits on /random/. A sudden stream of requests is worth investigating, whether the feature is on or off.

What else is in WordPress 7.2?
The random redirect is the most talked-about change, but it is not the only one. WordPress 7.2 also adds three new read-only AI abilities — query content, users and settings — exposed to the REST API, MCP and AI agents. There is no MCP server in core.
The Secrets API, which would have let plugins store credentials using libsodium encryption, was removed from 7.2 on 17 November after Matt Mullenweg sided with a request to pull it. A capability-check bug had been found by Peter Wilson — the code never checked manage_secrets or manage_network_secrets — and the feature may return in 7.3. The admin and login screens also split their combined JavaScript and CSS into individual assets.
The release schedule is the one point where the sources disagree. The release schedule says WordPress 7.2 is due on 8 December 2026, while the WordPress roadmap still lists 10 December. Either way, the update is days away, not months. Beta 5 is the latest test release, with Release Candidate 1 due 17 November, Release Candidate 2 on 24 November and Release Candidate 3 on 1 December. PHP 8.6 support is aimed for in this release.
One more data point: WordPress VIP turned /random/ off by default for its customers on 10 November — a useful signal, not a verdict, but a reason to make your own decision rather than accept the default without thinking.
Why does this matter for link building and guest posts?
Most guest posts and link placements live on WordPress sites, so a WordPress core change is a link-building issue, not just a technical one. When a publisher updates to WordPress 7.2, /random/ can surface any published post on that site — including old placements, thin posts and noindexed pages that were never meant to be a visitor’s first impression. A placement is only as good as the site it sits on.
Vetting a guest-posting site already means checking its content quality, traffic, link profile and editorial standards. After WordPress 7.2, it also means checking the site’s update habits: does the publisher update promptly, and has it decided what to do about /random/? A site that updated without thinking may be randomly serving its weakest posts to visitors — and to the search engines and AI systems that follow them. Our guide to the WordPress 7.1.5 security update covers a related habit worth checking: whether a publisher keeps its core updated at all, since an unpatched site is a risk to every link it hosts.
The practical checks are simple. Visit a prospective publisher’s site after 7.2 lands and try its /random/ URL. If it lands on a noindexed or outdated post, that tells you something about how carefully the site is managed. Check the site’s robots.txt posture too — our guide to robots.txt for AI crawlers explains how a publisher’s crawler rules decide whether your placement can be cited in AI answers. And remember that the wider search landscape is moving at the same time: our guide to the Google November 2026 core update for link builders explains what changed in the same month 7.2 arrives. A placement on a well-managed WordPress site is worth more than one on a site that updates blindly — the random redirect just gives you one more thing to check before you pay.
When should you hire a service like VonixCo?
Deciding about /random/ on your own site is a job you can do yourself in an afternoon: run the checklist, check your custom post types, add the filter if you need it, and watch the logs for a week. It becomes a different job when the question is the dozens of sites your links live on — checking every publisher’s update habits, testing what their /random/ URLs serve, is slow, repetitive work, repeated every time WordPress ships a release like this one.
VonixCo is a niche-relevant guest posting and SaaS link building service based in Lahore, Pakistan. Services: SaaS guest posts, niche guest posts, link building and guest post content writing. Plans: $500 / $950 / $1,800 per month, with content included and a live link report. Contact: info@vonixco.com and WhatsApp +92 340 0096621.
A service like VonixCo fits when you want guest posting handled as an ongoing operation — finding relevant publishers, vetting them properly, writing the content and placing it — rather than auditing each publisher’s WordPress setup yourself after every release. The vetting is the work; the placement is the easy part.
Frequently asked questions about the WordPress 7.2 random redirect
What is the WordPress 7.2 random redirect?
The WordPress 7.2 random redirect is a new core feature that sends a visitor to a randomly selected published post when they visit yoursite.com/random/. It also works inside categories, tags, author archives and eligible custom post types. It is on by default when you update to WordPress 7.2.
How do I turn off the WordPress 7.2 random redirect?
There is no dashboard setting to turn it off. Add add_filter( 'wp_enable_random_content_redirect', '__return_false' ); to a must-use plugin, then flush the rewrite rules by visiting Settings > Permalinks. Use the exact filter name — the misspelled version from the November roundup has no effect.
When is WordPress 7.2 released?
The release schedule says 8 December 2026, but the WordPress roadmap still lists 10 December, so the exact day is an open question. Beta 5 is the latest test release; RC1 is due 17 November, RC2 on 24 November and RC3 on 1 December. Plan for early December either way.
Does /random/ show posts I set to noindex?
Yes, as far as anyone knows. The redirect does not automatically skip posts that an SEO plugin has set to noindex — a commenter raised this on the developer note and there had been no response as of 16 November. The noindex header on the redirect response does not carry to the post the visitor lands on, so a noindexed post can still be shown through /random/.
Can /random/ show pages, attachments or client-specific content?
Pages and attachments are not eligible, so /random/ will never serve them. But custom post types are eligible if they are publicly queryable and have archives, unless registered with ‘randomable’ => false — which is why Joost de Valk worried people could “randomly end up on invoices, offers, client specific pages”. Audit your custom post types before updating.
Should I keep /random/ or turn it off?
Keep it if your published pool is clean, you have no noindexed or client-specific posts in it, and you like visitors discovering older content at random. Turn it off if the pool contains posts you would not want a stranger to see, or custom post types that were never meant to be public-facing. Either way, decide before you update — the feature is live the moment the update is.
Conclusion
The WordPress 7.2 random redirect is a small feature with an outsized decision attached: it is on by default, there is no dashboard switch, and it can surface any published post — including the ones you noindexed for a reason. Check your custom post types and your “random” slug, decide keep, rename or disable, and decide before the update lands in early December. A few minutes of checking now beats discovering the wrong post through a stranger’s click later.