PDA

View Full Version : How to make the wordpress site as private



satimis
June 7th, 2021, 01:33 PM
Hi all,

Is there an easy way to make WordPress site a private site without plugin?

My requirement is simple;
Only registered users can login with password to browse the site, all pages.
New user can make a request on email and if approved, I'll email the password to him/her

If a plugin is required please recommend an appropriate one. There are many plugins on Internet for this function.

Thanks

Regards

mIk3_08
June 7th, 2021, 02:29 PM
Just make a login portal page as your front-page or landing page going to the system website when successfully login in.
A portal page that say's this is your website plan. Please login.
This front-page must be securely protected. there are a lot of web security software that can help protect your website.
security is very important to your plan so that no leakage link to the web system you are planning.

satimis
June 7th, 2021, 03:30 PM
Just make a login portal page as your front-page or landing page going to the system website when successfully login in.
A portal page that say's this is your website plan. Please login.
This front-page must be securely protected. there are a lot of web security software that can help protect your website.
security is very important to your plan so that no leakage link to the web system you are planning.

Hi,

Thanks for your advice.

On Google search I found following document;
How to Create a Client Portal in WordPress
https://www.wpbeginner.com/wp-tutorials/how-to-create-a-client-portal-in-wordpress/

Would it be relevant for me to follow its steps?

Besides it still needs following plugin;
The “All-In-One” Membership Plugin for WordPress
https://memberpress.com/

It is available in WP "Add" plugin
"All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings"

Please advise. Thanks

Edit:
The running security plugin - wordfence

Regards

SeijiSensei
June 7th, 2021, 08:10 PM
Any reason why this has to happen in software and not through the basic authentication mechanism built into Apache?

https://httpd.apache.org/docs/2.4/howto/auth.html

satimis
June 7th, 2021, 10:20 PM
Any reason why this has to happen in software and not through the basic authentication mechanism built into Apache?

https://httpd.apache.org/docs/2.4/howto/auth.html
Hi,

Thanks for your advice.

What I expect to achieve are as follows:
1. Only authorized users can login the site with user ID and password to visit the site, all pages. This notice is displayed on the HOME page.
2. New users can make request with the expected user ID and I'll email them the password if approved. This notice is also displayed on the HOME page with a click for making request.

Please advise how to make it on Apache? Thanks

Edit
===
It is a WordPress site hosted on HostGator

Regards

SeijiSensei
June 8th, 2021, 02:13 PM
You could have a landing page separate from the WP installation that explains how to obtain a password. Probably should have a mailto: URL that people can use to request the password.

Then on the same page have a link to the WP site using basic authentication as shown in the document I linked to.

If you expect to have a lot of validated users, then using .htpasswd files might require too much work. Basic auth can use other authentication mechanisms like SQL queries (https://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html).