Answer the question
In order to leave comments, you need to log in
How to disable page opening at invalid url /valid-cat/trololololo-notvalid/valid-article?
Good afternoon. there is a category /valid-cat/ which contains valid-article. The page opens at /valid-cat/valid-article.
But if you add any invalid subcategory to the URL (eg /valid-cat/trololololo-notvalid/valid-article), the valid-article material will still open, but you need to give 404. How to solve this problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question