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

WordPress Trac noreply at wordpress.org
Fri Aug 28 14:05:08 UTC 2020


#50976: WordPress stripping out "page" query parameter with 301 redirect
-----------------------------+-----------------------
 Reporter:  aleksihulkkonen  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  Rewrite Rules    |     Version:
 Severity:  critical         |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------
Changes (by leec87):

 * status:  closed => reopened
 * resolution:  wontfix =>
 * severity:  normal => critical


Comment:

 Hi, this issue needs to be reversed because I haven't changed any of the
 query vars, but I'm using the page number as a PIN to display different
 data on the page, however when I have a URL such as /page/1234/ (or any
 number), this is being redirected to /page/ and the website is therefore
 broken because it's not showing the relevant info (based on the pin
 entered)

 This was working perfectly fine before, please reverse this. How else can
 I fix this bug? Why is this removing the page number from the URL?

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


More information about the wp-trac mailing list