
Disable Random Content
v1.3.2kaggdesign · 2026年11月12日 上架
Disable WordPress 7.2 random post redirects, including /random/, on activation. Keep random links for selected archives.
- 正在使用
- 10 以下
- 评分
- 5.0 / 5
- 累计下载
- 416
- 最近更新
- 2026年11月25日
截图
Activate Disable Random Content to turn off WordPress 7.2’s /random/ URL and random redirects from archives. To keep random links for specific categories, tags, or other eligible archives, select them under Settings > Disable Random Content. For example, allow /random/category/blog/ and keep the site-wide /random/ disabled.
You can activate the plugin on WordPress 7.1 ahead of the upgrade, either for one site or across a Multisite network. It starts controlling random redirects when the site runs WordPress 7.2 or later.
Try both links in the WordPress Playground demo linked in the setup guide.
What it does
- Stops redirects from WordPress’s random URLs, such as
/random/and random archive routes. - Prevents requests using the
randomquery 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.


