Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8063

    Hi,

    After I log out from WooCommerce Shopping Cart, it direct me to WordPress Login Page. How do I ensure the path was redirect back to the Homepage of my website instead. Thanks.

    #60187

    Hey,

    I believe this is a WordPress issue rather than a theme issue, I searched a bit and found this, I hope it helps :)

    #60188

    Hi,

    In your link, WordPress Codex stated that wp_logout_url() is located in wp-includes/general-template.php but I cannot find such a template in Propulsion theme (using the editor under Appearance). wp_logout_url appeared in Propulsion Config.php and was already pointing to home_url(‘/’). Anyway I tried changing the code but it does not seems to have any effect redirecting the logout URL. Am I barking up the wrong tree?

    #60189

    Hi,

    I crashed my site by trying to change the PHP codes. I have to reinstall WordPress and the theme again and do the customisation all over again. In the end, I downloaded a plugin just to specify the logout URL. :(

    #60190

    Hey,

    I’m sorry to hear this. The file you were looking for can’t be accessed through your Dashboard – you need to use an FTP client to access your entire site directory to then browse to wp-includes…

    Does the plugin work for you? If so can you share which plugin you’re using, maybe it can help other users too who are searching for this :)

    #60191

    I see, no wonder it didn’t work although I tried to meddle with the wp_logout_url() in the theme’s config.php file. I downloaded Peter’s Login Redirect.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘How to redirect to Homepage after logging out from shopping cart?’ is closed to new replies.