I want to redirect the signin and signout link from comment form in Wordpress.
I am using a plugin to register users from the front-end; there I have two pages: sign-in and register. When someone registers from this page and logs in from this page, then its working fine.
But when someone is going to give a comment to a post and is not logged in, then a link shows directing the user to login. Upon clicking this link it goes to wp-login.php
, but I want to redirect this link to my sign-in page and after sign in the sign out link should go to this page as well.
How can I do this?