Results 1 to 6 of 6

Thread: How to make the wordpress site as private

  1. #1
    Join Date
    Apr 2006
    Beans
    2,825

    How to make the wordpress site as private

    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
    Last edited by satimis; June 7th, 2021 at 01:35 PM.

  2. #2
    Join Date
    Oct 2017
    Location
    City of Waterfalls-Ph
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to make the wordpress site as private

    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.
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread
    Rock n' Roll People.
    From: mike_08

  3. #3
    Join Date
    Apr 2006
    Beans
    2,825

    Re: How to make the wordpress site as private

    Quote Originally Posted by mIk3_08 View Post
    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-tutori...-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
    Last edited by satimis; June 7th, 2021 at 03:41 PM.

  4. #4
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    15,613
    Distro
    Kubuntu Development Release

    Re: How to make the wordpress site as private

    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
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  5. #5
    Join Date
    Apr 2006
    Beans
    2,825

    Re: How to make the wordpress site as private

    Quote Originally Posted by SeijiSensei View Post
    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
    Last edited by satimis; June 7th, 2021 at 10:45 PM.

  6. #6
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    15,613
    Distro
    Kubuntu Development Release

    Re: How to make the wordpress site as private

    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.
    Last edited by SeijiSensei; June 8th, 2021 at 02:16 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •