This question already has an answer here:
I have some basic pages in my site, it has url paths.
When i pass the url its works properly.
www.mysite.com/about-us it opens perfectly. But my problem is if i pass url as www.mysite.com/about-us/sgajfsaff(something rondomly) it will also opens the about-us page not goto 404 page.
Is there any solution to redirect it 404 page?
Thanks in advance.