How Can You Make a WordPress Page Visible Only to Logged in Users?

When you create a WordPress page, you can choose to make it visible only to logged in users. To do this, you need to set the page’s visibility setting to private.

Once you’ve made the change, users who aren’t logged in won’t be able to see the page.

There are a few different ways you can make this change. You can use the Settings > Pages menu item to access the Page Settings page. On this page, you’ll find the visibility setting under the General category. Alternatively, you can use the WordPress customizer to set the visibility setting.

To do this, open the Customizer interface and click on the Pages tab. Under the Visibility section, you’ll find the Private setting.

When you make a page private, only logged in users will be able to see it. This can be a useful security measure, especially if you want to keep your page hidden from unauthorised users.

You can always change the page’s visibility setting back to public if you want to share it with the general public.