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.

Redirect to previous page after login

October 06, 2007 8:22pm

Subscribe [8]
  • #16 / May 04, 2010 5:25am

    Bjørn Børresen

    629 posts

    If you don’t want to use PHP in your templates and you know the maximum level of segments your content will generate you can just do this:

    {exp:member:login_form return="{segment_1}/{segment_2}/{segment_3}"}

    This will redirect to the current page, which is what you want if you have the login in a sidebar or in the header on each page ..

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

ExpressionEngine News!

#eecms, #events, #releases