Far a while now I have been using the following:
RewriteCond $0 !^(index\.php/)?courses/detail [NC]
RewriteRule ^(?:index\.php/)?courses/(.+)$ /index.php/courses/detail/$1 [NC,L]in conjunction with index.php removal to ensure the following:
http://www.mywebsite.com/index.php/courses/details/biology101
works as:
http://www.mywebsite.com/courses/biology101
and it has always worked. However, installing 2.5.2 I seem to be having difficulty. The index.php removal is working but the template group removal seems to be having no effect. I have scrutinised to see if I am missing something obvious but am left wondering if something has changed in the core that would prevent this working now?