I have a WordPress website and some link checker plugins are reporting all the links broken in same way. Just have a look:

http://www.esmedicare.com/category/blog/page/2/locations.html ( parent page: http://www.esmedicare.com/category/blog/page/2/ )
http://www.esmedicare.com/hello-world/locations.html ( parent page: http://www.esmedicare.com/hello-world/ )
http://www.esmedicare.com/neonatal-care-2/locations.html ( parent page: http://www.esmedicare.com/neonatal-care-2/ )
http://www.esmedicare.com/dental-center/locations.html ( parent page: http://www.esmedicare.com/dental-center/

I just want to redirect all these pages to their parent pages shown in bracket but I dont know how to do it exactly.

Please help me to solve this.

Read more here: Redirecting URL using .htaccess


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

WordPress related questions and answers: