I have built a custom login page to replace the default WordPress Login Page via a custom plugin – Referencing website:

This is an awesome plugin tutorial, as it does what I need for a client’s website, however, now I am trying to find a solution that forces website visitors to be redirected to the newly created custom login page to prevent anyone from seeing any another pages/posts on the site without first logging in. I hope that this makes sense.

I have tried many of the WordPress’ force login plugins without success, as these create errors of too many redirects issues.

Can anyone solve this??

Thank you in advance….

Read more here: how to force login via a custom login to restrict visitors from viewing a wordpress website?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: