Jump to content

Right route, but URI has extra chars


Recommended Posts

Hello! Have such URL:


If I write something in products it will be ok, but it's a wrong behavior! URLs like


still ok while I do not change id or remove dash which after id.  So can I fix it?


More simply: When I have request_uri /41-someAbrakadabra-product I still have access to this page - but its wrong behaviour! I want or redirect or 404. So I need accessing to this page only by right way: /41-some-product 


I use nginx, so, please if you have some decision make it to nginx please. Thanks

Edited by Nikita_kharkov (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...