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.

marked as duplicate by J. Reynolds, Neograph734, Shawn Conn, Pierre.Vriens, AjitS Jun 5 '16 at 21:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.