Please upgrade here. These earlier versions are no longer being updated and have security issues.

404 Error when clicking "Sign Out" with categories/all as homepage target

drukargindrukargin New
edited April 2013 in Vanilla 2.0 - 2.8
On a fresh vanilla 2.0.17 install, after changing the homepage target to categories/all, the "Sign Out" button in the top bar redirects the user to


which results in a 404. A comparable result occurs when the homepage target is set to categories/discussion. /discussions and /activity are not affected, and redirect correctly.

Is there a workaround or fix for this that I can apply quickly? :)



  • I have the same problem :(
  • I've updated the original post to include the "bug" tag. Hoping for a fix soon! I can't use this software in a live environment with this issue.
  • I've also posted a bug on the issue, as it seems a bug to me:
  • UnderDogUnderDog Moderator
    edited February 2011
    Similar problem in this thread: but let's keep the discussion going here :-)
    All problems regarding this possible bug can be found using the tag "404-error"
    This link :
  • Is there any more info I can give, or assistance I can provide? :)
  • Me too.
  • I've determined that this only happens when a forum is installed below the root directory, as in:

    When the forum is installed in the root, as in:

    Sign Out works as expected.
  • therobtherob New
    edited February 2011
    Same issue with me, it is sending the user to this page:


    and it should be going here:

    it seems to be that little bit: "index.php&p=/" that is throwing everything out...if I delete it then all is sweet, but our users wont want to or know to click back and forward everytime they log out...
  • drukargindrukargin New
    edited February 2011
    This also occurs on forums that are using .htaccess rewrite URLs. For example, if the forum is installed at:


    Clicking sign out redirects the user to:

  • edited February 2011

    Sorry, realised that it still show this page :-(
  • Found temporary solution:

    add to your config.php

    $Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}?Target=discussions';

    At least it show discussions list.

    Bug can be related to "/" in Target or something else.
    Error happens due to some wrong processing.
  • edited February 2011
    Thanx :-D that tip works..

    But i changed the line to:

    $Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}';

    To return to categories/discussions and it works :-D

    Thanx and credits for my moderator joppie!
  • Yeah, works perfect.
    It is hard to understand why we have Target in this case.

    Any official support or support from developers exist here?
    As I see that problem remained unsolved for quite a time.
  • The developers are really busy and some of the regulars are away on business trips sometimes... We're all helping each other, that's what the community spirit is all about...
  • I am ok with community spirit, but having someone who wrote this code is very handy.
    Problem with forums is lack of proper documentation for developers.
    And while we have some starter information, it becomes not so good deeper.
  • Problem with forums is lack of proper documentation for developers. And while we have some starter information, it becomes not so good deeper.
    And that is exactly the reason why I stepped up and offered to help out more. The documentation will be improved and the plugins can be tested. We just need as much help as possible.
  • Thanks, I am also trying to help community as much as I can. :-)

  • @mark have you seen this yet?
  • Great solution @UnderDog and @tester13 great community spirit, Thanks!! - Just wish I could contribute as much, as a noob sometimes it feels like you are just taking and asking for "free" help all the time...
  • I hope that @Mark will introduce real fix (not our temporary solution) in one of the next commits to unstable branch at github.
    Most probably that bug is also related to bug with deleted thread redirecting to 404 page.
    Looking at it I can see that Mark and few other core developers are actively working on improving Vanilla, fixing bugs, etc.
Sign In or Register to comment.