Disable Random Content
Don’t want WordPress to send visitors to a random post? Disable Random Content turns off the random content redirect feature introduced in WordPress 7.2 as soon as you activate it. All settings are optional. What it does Stops redirects from WordPress’s random URLs, such as /random/ and random archi
Don’t want WordPress to send visitors to a random post? Disable Random Content turns off the random content redirect feature introduced in WordPress 7.2 as soon as you activate it. All settings are optional.
What it does
- Stops redirects from WordPress’s random URLs, such as /random/ and random archive routes.
- Prevents requests using the random query parameter from selecting and redirecting to a random post. The underlying archive or search request continues normally.
- Lets you allow random redirects for individual category, tag, public taxonomy, or eligible post type archives.
- Leaves your published content available at its usual URLs.
- Handles permalink rules automatically on individual sites and Multisite networks.
It does not affect unrelated random-order queries in themes or other plugins.
- 01In WordPress, go to Plugins > Add New and search for “Disable Random Content”.
- 02Install and activate the plugin. On Multisite, activate it for one site or across the network.
No settings or manual permalink changes are required.
Frequently asked questions.
What exactly does the plugin disable?
It disables WordPress’s random content redirects, including the default /random/ routes and redirects triggered by the random query parameter. It uses the wp_enable_random_content_redirect filter.
Does it disable random ordering in themes or other plugins?
No. Unrelated queries that explicitly request random ordering are unaffected.