Hi,
So, @JanP would you fix those bugs?
First of all, these are not bugs but the Joomla! SEF feature. I think this is much more a question on Joomla! developers than for me. The extension just follow the CMS rules and it uses the CMS SEF feature. I don't know, if even is possible to change this feature by the component because SEF is managed by Joomla!:
For example: option=com_your_extension just cannot be changed to own rules as the router works on Joomla! first and then asks for the rules in extension.
Anyway the number in URL has many advantages:
- the router decision is faster (because of working with integer)
- the chance to get confusing alias is minimal because search engines don't create non existing links the same like the CMS will not create such link
- if user comes to site with right integer but wrong alias, this has advantage, because you don't want to display non existing product but some existing, so you offer the right product instead of saying: product does not exist - for selling it is better to offer right product instead of nothing.
A practical scenario:
1) You create a product with mistake in alias
.../phocacartdemo/1-skoda/2-radip
2) Search engines will store this link: .../phocacartdemo/1-skoda/2-radip
3) You discover the error and you will correct the alias to:
.../phocacartdemo/1-skoda/2-rapid
4) In search engine, there is still old link and when user click on this old link with mistake, he/she get right page (without having the number, user gets the: no item found page, so the question is what is better: nothing or right product?)
And it can happen that the wrong alias stays in search engines for some months but still no problem when the link is managed by integer.
But, it does not matter what I write here, this is the Joomla! feature, so it can be changed there. And core developers test the experimental new feature and I will just observer it and follow it in future.
Jan