EllisLab text mark
Advanced Search
     
Remove Template Group (htaccess)
Posted: 19 July 2012 05:11 AM   [ Ignore ]
Joined: 2008-03-16
96 posts

Far a while now I have been using the following:

RewriteCond $!^(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?

 
Posted: 19 July 2012 03:27 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey Mantishead,

I am sorry to hear you are running into this problem.

Unfortunately we do not support any other configuration in the .htaccess file aside from the one we list on the wiki.

I would still like to help as much as I can. What do you think about moving this thread to the Community Help Forum to see if there is any direction to be had from the community?

Please let me know.

You might also drop this question a little differently in the Development and Programming forum.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 20 July 2012 05:15 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2008-03-16
96 posts

Sounds good.  Pretty sure something must have changed in the core since 2.2 as the same approach works on other sites.

 
Posted: 20 July 2012 05:27 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey Mantishead,

I would not be surprised.

Moving you on over. If you need anything else, please just let me know!

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 20 July 2012 05:34 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2008-03-16
96 posts

Looks like this is the answer…
http://ellislab.com/forums/viewthread/202909/

 
Posted: 21 July 2012 04:50 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Joined: 2008-03-16
96 posts

Nope.  Looks like it but it hasn’t fixed it…