
Tmeister Random Redirect Disable
v1.0.0tmeister · 2026年11月19日 上架
Turns off the /random/ URL (introduced in WordPress 7.2) that sends visitors to a random post or page.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 109
- 最近更新
- 2026年11月20日
需要 WordPress 7.2+已测试到 7.2PHP 7.4+
贡献者
WordPress adds a /random/ URL that redirects visitors to a random piece of content on your site. If you don’t want that, Tmeister Random Redirect Disable turns it off.
There are no settings. Activate the plugin and the redirect is disabled. Deactivate it and the core behavior comes back.
The plugin adds a single filter:
add_filter( 'wp_enable_random_content_redirect', '__return_false' );
It does not store data, add database tables, or contact external services.