Redirect a guest to custom login page in stead of WP default login page
I have create a dynamic link that links to user profile. By default, a logged-in user who clicks on this link will be redirected to his/her profile. A guest who clicks on the link will be redirected to the default WP login. What I want is that I want to replace the WP default login page with my login page. Which file I should edit? By the way, I do not wish to use a plugin.
- You must be logged in to reply to this topic.