[wp-trac] [WordPress Trac] #64498: Add core support for random content redirects

WordPress Trac noreply at wordpress.org
Mon Jan 12 21:53:50 UTC 2026


#64498: Add core support for random content redirects
---------------------------+-----------------------------
 Reporter:  annezazu       |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Rewrite Rules  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 WordPress Core does not include functionality to redirect a request to a
 randomly selected post or page. This behavior is currently implemented
 through plugins or custom code. This ticket proposes discussing whether a
 minimal, opt-in core implementation should exist. Any implementation could
 rely on existing query and rewrite APIs without introducing user-facing
 settings or defaults. @matt recently mentioned this as something to
 consider for 7.0 based on his early plugin here:
 https://wordpress.org/plugins/random-redirect/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64498>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list