[wp-trac] [WordPress Trac] #59438: Posts Page Redirects to Home Page

WordPress Trac noreply at wordpress.org
Mon Oct 2 12:06:57 UTC 2023


#59438: Posts Page Redirects to Home Page
-------------------------------+---------------------------------
 Reporter:  mymothersdaughter  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  6.3.1
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  ui, administration
-------------------------------+---------------------------------
Changes (by GaryJ):

 * focuses:   => ui, administration


Comment:

 I can replicate this. While editing the Blog page, and selecting "Preview
 in new tab", the link URL points to `https://{my
 domain}/blog/?preview_id=110&preview_nonce=...&preview=true` - note the
 presence of `/blog/` in there.

 The tab that opens though ends up as `https://{my
 domain}/?preview_id=110&preview_nonce=...` - a visible redirect has
 happened and the `/blog/` is gone from the URL.

 If I manually add the `/blog/` part back, then I do get the contents of
 the blog page, albeit with no amendments from the editing since the Blog
 page is handled via the "Blog Home" Template on the Twenty Twenty-Three
 theme.

 Even if it may not make sense to preview a static blog page which is being
 handled by a block theme template, the UI is a little confusing to new
 (and experienced) users.

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


More information about the wp-trac mailing list