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.
I believe this is a WordPress issue rather than a theme issue, I searched a bit and found this, I hope it helps :)
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?
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. :(
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 :)
The topic ‘How to redirect to Homepage after logging out from shopping cart?’ is closed to new replies.