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.

Forum path problems after removing index.php (logout doesn't work)

September 09, 2008 1:14pm

Subscribe [3]
  • #1 / Sep 09, 2008 1:14pm

    Timo Häkkinen

    25 posts

    I’m using the exclude method to remove index.php from my site. I’ve got everything working beautifully, but now I’m trying to set up a forum and for example logout doesn’t work. Neither does changing the skin. These links point from example.com/forum/ to example.com/?ACT=... and they simply won’t work. If I manually enter example.com/index.php?ACT… it works.

    I know removing index.php is not officially supported, but logout and changing skin seems to work just fine here on EE’s site with index.php removed. Any ideas?

    My htaccess:
    RewriteEngine on
    RewriteCond $1 !^(actual|directories|themes|favicon\.ico|robots\.txt|index\.php) [NC]
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    I had to make the rewrite rule “index.php?” instead of “index.php” because for some reason that wasn’t working on my site. Is that what it’s all about, possibly?

  • #2 / Sep 15, 2008 4:05pm

    Timo Häkkinen

    25 posts

    No one ever set up a forum with index.php removed?

    Please post your htaccess if you’ve done that and it’s not asking too much. Any ideas how to solve this one? Having a forum that people can’t use doesn’t do anything good and I’m pretty much stuck right now.

  • #3 / Nov 22, 2008 3:02am

    timkelty

    177 posts

    Having the same issue, any one figure this out?

    For me, logout or change theme dropdown doesn’t work. As soon as I change my htaccess and bring index.php back, it works. I’m using the exclude method from the wiki

  • #4 / Jan 22, 2009 1:33pm

    Jason Ferrell

    33 posts

    I was having this same issue and it turned out the problem for me was in the htaccess rewrite.

    The rewrite rule below is what I initially had:

    RewriteRule ^(.*)$ /index.php?/$1 [L]

    I removed the question mark and now logout and theme change work as they should.

    RewriteRule ^(.*)$ /index.php/$1 [L]
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases