WordPress random content endpoint arrives in version 7.2
WordPress 7.2 adds a /random/ endpoint that redirects visitors to a randomly selected published post. The feature is on by default, with options to customize eligible content or disable the redirects.