Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2009
    Posts
    7
    Plugin Contributions
    0

    Default Login Page Redirect to My Account?

    Hello,

    I'm sorry if this has been answered before - I can not seem to find the solution.

    Right now, when a customer logins from the login page, they are redirected to my home page. I would like them to land in their account page instead. How do I do this?

    Thanks,

    Lauren Ellis

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Login Page Redirect to My Account?

    You can effect this behavior via the following CORE FILE edit. In \includes\modules\pages\login\header.php (line 135 for 1.38a):

    Code:
            } else {
              zen_redirect(zen_href_link(FILENAME_DEFAULT, '', $request_type));
            }
    change this to:

    Code:
            } else {
              zen_redirect(zen_href_link(FILENAME_ACCOUNT, '', $request_type));
            }
    This will cause the default login (i.e. not from a timeout or login-required action) to go to the 'My Account' page instead of the home page. Be sure to make a backup copy of the original header.php file!

  3. #3
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Login Page Redirect to My Account?

    Hi,

    Can this be done with 1.3.9c ?

    Thanks.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Login Page Redirect to My Account?

    The redirect functionality has not changed from 1.3.8 to 1.3.9; it'll work just fine...

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 May 2014, 05:35 PM
  2. Login Should Redirect to ACCOUNT and not home page
    By limelites in forum General Questions
    Replies: 3
    Last Post: 2 Mar 2014, 06:43 PM
  3. Login Link - Can I redirect to My Account after login?
    By perkiekat in forum General Questions
    Replies: 2
    Last Post: 3 Feb 2010, 01:34 AM
  4. how does login page decide where to redirect after create an account?
    By weber in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 May 2009, 11:59 AM
  5. How to redirect customer to their account page from login?
    By memerson in forum Basic Configuration
    Replies: 2
    Last Post: 19 Feb 2009, 09:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR