Redirecting WordPress’s Login/Register page to a custom login/registration page..

IN SOME CASES we have been used the plugin for the custom login, registration page.
we have created our pages using custom codes for Login and register page.
In that cases there are two Login and registration page in the websites,

We can make redirect to the user to only see one page. For this we only need a Url of the Login or register page.

Suppose i am using Pie Register Plugin in the website. my new Login page url is :, You can use any plugin. just check your Login page Url.

Then use the below code in Functions.php file:

By replacing your Url with, Your site will come up with one Login page.