I have a custom page for login in WordPress with Woocommerce integrated, and need that when a user click on my-account page, instead of using the login form from woocommerce, redirect to my custom login url.
my-account page only must be seen in case the user is logged in,else, I prefer the login and registering process be managed in /login/ and /register/ urls.
How can I accomplish this?
Try this code:
Create Login page and add this code in content.
For Registration separate page use this extension.
WooCommerce Simple Registration
Create registration page after active plugin add code