WordPress 7.2 /random redirect and Search Console branded query API – what to adjust
WordPress 7.2’s new /random/ redirect can send bots to unexpected pages, while the Search Console API now splits branded and non‑branded queries. Here’s how to adapt.
WordPress 7.2, scheduled for release on Dec. 8, introduces a /random/ redirect that is turned on by default. At the same time, Google has added a brandedClassification dimension to the Search Console API, letting you pull branded and non‑branded query data without building regex lists.
The /random/ redirect sends visitors to a randomly selected published post (or custom post type) using a 302 status and an X‑Robots‑Tag: noindex, follow header on the redirect response only. The header is not sent on the destination page, so the redirect URL itself is marked noindex while the target page receives no special header.
Why the /random/ redirect needs attention
WordPress 7.2’s implementation selects any publicly queryable post type that has an archive, unless the developer has explicitly disabled it with the randomable => false argument. That means the redirect could land on any type of content you have made publicly queryable.
- Any custom post type that is publicly queryable and has an archive could be served by the redirect
- Pages that you have deliberately set to noindex via an SEO plugin might still be reachable through the random pool
- Eligible custom post types can be reached via /random/ even if they are set to noindex, which may allow Googlebot to crawl them
Because the redirect response carries a noindex tag, Googlebot will not index the /random/ URL itself. The target page is fetched normally, and its indexing depends on the page’s own directives and content.
What the new brandedClassification dimension means
Google’s Search Console API now returns a brandedClassification field for eligible properties, with data starting Feb. 21, 2026. This lets you separate branded queries from non‑branded ones without maintaining regex patterns. Google notes that some queries may be misidentified, so a quick sanity check against any existing regex list is advisable.
Immediate actions
- Add the wp_enable_random_content_redirect filter in a custom plugin or your theme’s functions.php to disable the default /random/ redirect until you can audit eligible post types
- Review custom post types that are publicly queryable and have archives; set 'randomable' => false for any that should never appear in the random pool
- Update your Search Console API calls to request the brandedClassification dimension for properties that meet the eligibility criteria
- Run a side‑by‑side comparison between the API’s branded results and your existing regex list to spot any misclassifications
What to do now
If you are planning to upgrade to WordPress 7.2, have a developer add the filter that disables the default /random/ redirect. At the same time, start pulling branded query data via the Search Console API and use it to refine your keyword strategy and content gaps.
Our SEO services can audit your WordPress setup, implement the necessary filter, and integrate the new API data into a reporting dashboard that aligns with your business goals.
The services behind this post.
Frequently asked questions.
Yes. WordPress provides the wp_enable_random_content_redirect filter, which you can hook in a custom plugin or your theme’s functions.php to return false and disable the redirect.
Talk to the team that does this every day.
Tell us what you're trying to grow. You'll get a plan, not a pitch.
Contact Us