How To Set Login Page as Home Page

In WordPress if you don't want to display your blog posts on your website's front page, you can use static homepage instead. A static homepage is just regular page that will show up when visitors visit your homepage. Setting up a login page as a homepage when you use static homepage setup is quite simple.

To create your homepage, start by creating a new page in the Pages section. Once it's done, navigate to Settings → Reading page, and under the "Your Homepage displays" options, select a Static page. Next, select your homepage and posts page from dropdown menus.

Next, go to MemberPress → Settings → Pages tab and select your homepage as "MemberPress Login Page" from the dropdown menu. 

As soon as you select page as Login page in MemberPress settings, MemberPress will add the login form at the bottom of the page below the main content. If you want to display the login form in different place, you can edit homepage in Pages section, check "Manually place the login form on the page" option in MemberPress Settings and add [mepr-login-form use_redirect="true"] shortcode where you want to display login form.

Optionally, you can also set the homepage as the page where users will be redirected to when they log out. All you need to do is to set "/" in the "URL to direct member to after logout" option in the MemberPress → Settings → Account tab.

That's it.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.