Why are my WordPress website’s pages getting redirected to the main page?
I am creating a WordPress website on the topic of computers. Now, the sub-pages are getting redirected to the main page. The slugs are in place. Below, is the URL of the website.
(https://computerbasicshub.net/)
(https://computerbasicshub.net/index.php/webaccess/)
Why is my WordPress child page URL not redirecting with the parent page?
I have created a Parent Page with the URL example.com/service/ and a Child Page with the URL example.com/service/service-name/. However, when I remove the /service/ part and hit the enter button, my Child Page does not redirect to the Parent Page. Instead, the URL changes to example.com/service-name/, which is incorrect for my needs. I want the URL to remain as example.com/service/service-name/ even if someone tries to access example.com/service-name/.