wordpress issue with permalinks and page hierarchy
-
Hello,
I’ve got WP 4.9.9 web page on Nginx server.
The are permalinks setup and i have page hierarchy (parent page) something like this:
mydomain:
– services
– service one
– service two
-…When I type in browser mydomain/service/service-one everything works OK.
The problem is that WP allow to type every possible prefix in url (non-existing parent page slug) and it will serve the proper page as long as correct slug is in the end.
So when I type mydomain/whatever/service-one I still get service-one page, I can even type many parent pages like mydomain/whatever/some-random-txt/service-one and still get the service-one page.
Anybody knows why?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wordpress issue with permalinks and page hierarchy’ is closed to new replies.