Original link: https://oneinf.com/tech/net/wp/9825.html
The two plugins I’m going to introduce today can make your blog completely private, which means that visitors without an account can only see the login page. Why would anyone want to keep their blog completely private? 1. I only want to record blogs for myself; 2. Some websites for internal use; 3. Websites with special resources.
Registered Users Only
After the Registered Users Only is installed and enabled, a menu will be generated in the settings for management. There are only three functions that can be selected. If there is no registration and login, it will be redirected to the login interface.
1. This is a default WordPress option placed here for easy changing.
1. Anyone can register
2. Allow access to your post and comment feeds (Warning: this will reveal all post contents to guests!)
2. Allow access to your post and comment feeds (warning: this will show all post content to guests!)
3. Allow access to your REST APIs (Warning: this will reveal all post contents to guests!)
3. Allow access to your REST API (warning: this will show all post content to guests!)
Force Login
After the installation of Force Login, there is not even a management interface, as long as the plug-in is turned on, the whole site needs to log in to view the function. If you simply want to privatize your blog, the Force Login plugin is enough.
This article is transferred from: https://oneinf.com/tech/net/wp/9825.html
This site is only for collection, and the copyright belongs to the original author.