[wp-trac] [WordPress Trac] #59954: Gets error 404 in preview page

WordPress Trac noreply at wordpress.org
Tue Aug 26 18:42:05 UTC 2025


#59954: Gets error 404 in preview page
-------------------------------+---------------------
 Reporter:  davidperez         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:
Component:  Editor             |     Version:  6.4
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+---------------------
Changes (by manishchopra):

 * keywords:  2nd-opinion needs-testing => reporter-feedback


Comment:

 == Reproduction Report
 === Description
 Attempted to reproduce the issue: 404 error on preview page.

 === Environment
 - WordPress: 6.8.2
 - PHP: 8.3.24-dev
 - Server: PHP.wasm
 - Database: WP_SQLite_Driver (Server: 5.5 / Client: 3.40.1)
 - Browser: Chrome 139.0.0.0
 - OS: Windows 10/11
 - Theme: GeneratePress 3.6.0
 - MU Plugins:
   * rewrite.php
 - Plugins:
   * Gutenberg 21.4.0

 === Actual Results
 1.  ❌ The issue could not be reproduced.
 2. ❌ Preview worked as expected without redirecting to /wp-
 admin/undefined

 === Steps Taken to Reproduce
 1. Installed and activated the Gutenberg plugin.
 2. Installed and activated the GeneratePress theme.
 3. Created a new post → Edit → Chose Preview in New Tab → Preview loaded
 correctly (no /wp-admin/undefined).
 4. Repeated steps described by @luckybhumkar:
    Drafted a post > Preview in new tab
    Still did not redirect to an undefined page.

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


More information about the wp-trac mailing list