Logged in customer redirect to home page

This topic has 4 replies, 3 voices, and was last updated 10 years ago ago by Eva Kemp

  • Avatar: mafigotan
    mafigotan
    Participant
    October 11, 2014 at 10:07

    Hi!

    I want logged-in(front-end) customers(users) redirect to home page or any other page.
    But when customers log in the site they are redirected to their account page.

    Could you please help me with this issue?

    Thanks in advance.

    Minsoo Kim

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 11, 2014 at 10:29

    Hello,

    Navigate to WooCommerce->Settings->Accounts->My Account Page and select Home Page.

    Regards,
    Robert Hall.

    Avatar: mafigotan
    mafigotan
    Participant
    October 12, 2014 at 13:10

    Hi,

    You must have misunderstood my request.

    I want following process.

    1. User(customer) log in the site through login page.
    2. Users should be redirected to home page or any other page I want

    User can’t log in the site through your instruction because login page was disappeared.

    Please reply again.
    Minsoo Kim.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 13, 2014 at 12:14

    Hello,

    You can edit the file wp-content/themes/legenda/woocommerce/global/form-login.php (line 30), find the code <input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ) ?>" /> and change the value <?php echo esc_url( $redirect ) ?> to the home page link.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘logged in customer redirect to home page’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.