[wp-trac] [WordPress Trac] #50976: WordPress stripping out "page" query parameter with 301 redirect

WordPress Trac noreply at wordpress.org
Wed Aug 19 01:32:47 UTC 2020


#50976: WordPress stripping out "page" query parameter with 301 redirect
-----------------------------+---------------------
 Reporter:  aleksihulkkonen  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  5.5.1
Component:  Rewrite Rules    |     Version:  5.5
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:
-----------------------------+---------------------

Comment (by mikeyott):

 For what it's worth, we're also experiencing the same issue on more than
 one site that I have noticed so far, except we get a 404.

 I'm sharing this info in case it helps others. Our custom theme is using
 the **add_rewrite_rule()** function which does indeed reference **page=**
 in the query string.

 Rolling back to WordPress 5.4.2 'solves' the problem.

 Kudos for acknowledging potential problem. Curious to see if the core team
 wants to fix this, or if we have to end up implementing our own solution.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50976#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list