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
    1,939
    Plugin Contributions
    20

    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
    419
    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
    1,939
    Plugin Contributions
    20

    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. Redirect after login to page outside of Zencart
    By Anuragji in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 4 Jun 2009, 11:24 PM
  2. 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
  3. 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
  4. Automatically redirect to paypal no account page
    By pharqall in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 18 Feb 2008, 06:20 AM
  5. Redirect from the Login Page
    By bgroup99 in forum Basic Configuration
    Replies: 8
    Last Post: 15 May 2007, 07:56 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
  •