I'm looking for a solution to set my WordPress login page as the homepage. Maybe a redirect 301 will work. Are there any other solutions?

  • Just create a login form in frontend home page – Raminer Nov 18 '19 at 14:30

Add the following to your .htaccess file:

# Custom default index page
DirectoryIndex ./wp-login.php

That should work.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.