I've just migrated to Joomla 3 and my K2 URLs are returning 404's.
Before the migration this was an example of a correct URL: [url=https://www.portal-gestao.com/item/7687-o-que-significa-mass-customization.html]URL[/url]
After the migration, this page opens with this URL: [url=https://www.portal-gestao.com/slideshow/item/7687-o-que-significa-mass-customization.html]URL[/url]
So, the category is now behind the /item/ part of the URL.
It is very important, for SEF reasons, to preserve the old URL structure. I had the following line in .htaccess to force all K2 items to that structure:
RewriteRule ^.+/item/(.+)$ /item/$1 [R=301,L]
How can I bring this URL structure back?