ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Remove Template Group (htaccess)

July 19, 2012 5:11am

Subscribe [2]
  • #1 / Jul 19, 2012 5:11am

    Mantishead

    55 posts

    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?

  • #2 / Jul 19, 2012 3:27pm

    Shane Eckert

    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,

  • #3 / Jul 20, 2012 5:15pm

    Mantishead

    55 posts

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

  • #4 / Jul 20, 2012 5:27pm

    Shane Eckert

    7174 posts

    Hey Mantishead,

    I would not be surprised.

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

    Cheers,

  • #5 / Jul 20, 2012 5:34pm

    Mantishead

    55 posts

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

  • #6 / Jul 21, 2012 4:50am

    Mantishead

    55 posts

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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases