I have a site that is using the simplest of URL layouts and was just asked if they could change.
Currently, they are as follows:
www.domain.com/details/item
www.domain.com/dates/item
www.domain.com/topics/item
Where 'item' is a separate entry that is linked via playa field. So all links are simply
www.domain.com/template_group/index
and 'item' is {last_segment} which triggers the entry {url_title}
Now they would like to shift this to
www.domain.com/item/details
www.domain.com/item/dates
www.domain.com/item/topics
Is there something simple I am missing? I feel that each time I look at it, I start to over complicate it.
RewriteRule (.*)/details$ /index.php?/details/$1
but sadly EE seems to use the segments from the original request, not the rewrite.