IT

WordPress 7.2 to add a path for visiting a random post

According to @needforseo, the update is due on December 8 and will add the /random/ path, enabled by default.

WordPress 7.2, scheduled for release on December 8 according to @needforseo, will add the `/random/` path. It will redirect visitors to a random published post. The feature will be enabled by default, with no switch in the admin panel.

The publication says the selection includes public post types with archives, including reviews, portfolios and administrative posts assigned `noindex` by an SEO plugin. The redirect itself returns a 302 status and a `noindex, follow` header, but the destination page does not receive that header.

The path can be renamed in Permalink Settings. The `wp_enable_random_content_redirect` filter disables the feature entirely. For a single post type, set `randomable` to `false`.

WordPress 7.2 field guide