Changes between Initial Version and Version 1 of Ticket #4328, comment 44
- Timestamp:
- 03/24/2021 05:41:14 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4328, comment 44
initial v1 3 3 4 4 WordPress will redirect to the intended page from its old url to its new url in the following scenarios: 5 6 I've only (manually) tested this on the post_type of 'page' and when the permalink setting (wp-admin/options-permalink.php) is set to post-name.7 5 8 6 when the slug is changed; … … 12 10 when its parent page is made to have another parent page. 13 11 14 The only scenario that I had found to not work and what made me find this ticket in the first place:12 I've only (manually) tested this on the post_type of 'page' and when the permalink setting (wp-admin/options-permalink.php) is set to post-name. 15 13 16 is that redirects will not work as expected when is when a page is added to have a 3rd level parent page. 14 The scenarios where redirection will not work and what made me find this ticket are: 15 16 * when a page is added to have a 3rd parent page. 17 17 18 18 For example, a page with the slug of "3d-printing" and has two levels of parent pages (so its full url is: "subjects/technology/3d-printing/" is made to have a 3rd parent page (the new url is "library/subjects/technology/3d-printing/") ; 19 19 the redirect will not occur, and the user receives a 404. 20 21 * when a page with 2 parents is renamed 22 23 Example: a page with the slug 'book-club' and previous had 2 levels of parent pages (e.g. about/special-library/book-club) is renamed to "about/special-library/special-book-club" 24 The redirect is not made; and the user receives a 404.