That is, the slug part of url should be optional. Closes #11231 (cherry picked from commit 5fbfd67b94)
5fbfd67b94