[wp-trac] [WordPress Trac] #41128: 404 Page not found after using same URL in post / page

WordPress Trac noreply at wordpress.org
Wed Jul 10 07:13:55 UTC 2024


#41128: 404 Page not found after using same URL in post / page
-------------------------------+------------------------------
 Reporter:  jpgos              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.8
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by nevienoohar):

 same
 First, ensure that the post with the conflicting slug ('new') has been
 permanently deleted from the trash. Even though it's in the trash, it can
 still conflict with the page.
 Edit the page titled 'new' and change its slug to something unique. You
 can do this by editing the page and modifying the permalink settings
 (usually located below the page title field).
 After changing the page slug, it's a good idea to update your permalinks
 to refresh the rewrite rules. Go to Settings > Permalinks in your
 WordPress admin dashboard, and simply click the "Save Changes" button
 without making any changes. This will flush and regenerate the permalink
 structure.
 Once you've completed the above steps, visit the page with the updated
 slug ('new' or whatever you changed it to) to ensure that it now loads
 correctly without a 404 error.

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


More information about the wp-trac mailing list