I have a script which creates urls like this:
I need it to be like this:
The numbers are needed for database lookups, I was told, and there is also other types of urls on this domain which have numbers at the end, but I guess I would leave it as is (so only the ones with the /model/ in the url part, need to be rewritten).
All urls will be different, as 100% of the names will be unique.
I need to rewrite it, because I would like to use it with a php entry page, something like
and this "model-name" part would be getting redirected to:
I guess it would be harder to do it with all these numbers at the end, and I know that it can be possibly rewriten.
Does anybody have an idea how this would work, if there are any implications to doing this, and what would be the best way to go?