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

WordPress Trac noreply at wordpress.org
Thu Aug 20 10:19:30 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 paperkawaii):

 I have changed the URL parameter to

 {{{
 'format' => '?mypage=%#%',
 }}}

 Which works fine in 5.4.2 however makes no difference to the problem in
 5.5.

 It still gives a 404 error (after disabling the redirect_canonical)

 Therefore I don't understand the previous comments about rebuilding
 without the page= in the URL.

 I'm splitting posts into multiple pages. Not using the 'next page'
 function as I have a completely custom theme with custom splits for each
 post, integrated with Advanced Custom Fields gallery.. which splits at a
 different image depending on how many images there are..

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


More information about the wp-trac mailing list