0

I'm working with the redirect after logout module to redirect the user to the login page after he logs out.

Now I have a link in my main menu with route user/logout. And my module redirect after logout is configured to redirect to user/login.

But when I click on the link I'm not redirected to user/login but I'm being send to the 'front-page' (I am logged out). And when I surf to mylink.com/user/logout I am being redirected to user/login. Why doesn't this work with the link?

  • your main menu is built by Drupal or custom menu? – Aboodred1 May 2 '14 at 19:15
  • are you using anything else like logintoboggan that might be intercepting the redirect? – Geoff May 2 '14 at 21:35
  • No, I'm not using another module that could interfere with the redirect module. – nielsv May 5 '14 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.