Child page old URL broken
-
Hello,
I have parent page “A”. I set “B” as his child. So “B” is “A -> B”.
I am using “A” slug in URL of child pages, so:
https://website.com/b/
becomes
https://website.com/a/b/
I am also using page template on B page.
When I access page by
https://website.com/a/b/
everything is fine, but when I open it by old link (as no child)https://website.com/b/
it’s loads like single.php with content.php instead page template or even redirect tohttps://website.com/a/b/
.I am using modified twentyfourteen theme.
Is it bug could be fixed (redirect is the best way) by any short filter in functions.php or I have to write URL comparition filter when page is child?
(Front-end access – ID: test, Password: test)
Parent:
https://zschocianow.nazwa.pl/wordpress/prezentacja/Children:
https://zschocianow.nazwa.pl/wordpress/prezentacja/technikum-mechatroniczne/Old children’ URL (here is the problem):
https://zschocianow.nazwa.pl/wordpress/technikum-mechatroniczne/Thanks in advance,
Greetings
- The topic ‘Child page old URL broken’ is closed to new replies.