• Here’s the deal…I have my wordpress site all set up at ‘domain/blog’ and everythign how I want it, excetp I want the FIRST page that users see to be the registration page, and make it FORCE them to register before they can even VIEW my content…I do not want my blog even viewable by anyone who has not made themselves a username and password. I literaly ONLY want them to see the registration page until they are loged in, nothing else. Is there a plugin for this? I tried one called “wp-members” but it doesnt restrict on the root level, like I want.

    THANKS!!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • You could do it through the .htaccess / .htpasswd route rather than through wordpress/plugin.

    Try the Members Only plugin:

    A plugin that allows you to make your WordPress blog only viewable to users that are logged in. If a visitor is not logged in, they will be redirected either to the WordPress login page or a page of your choice. Once logged in they can be redirected back to the page that they originally requested. You can also protect your Feeds whilst allowing registered user access to them by using Feed Keys.

    Thread Starter crobs808

    (@crobs808)

    Ok thanks, that plugin worked, however…now if someone knows the direct link to a video, that is on mu uploads directory or something, they can download it without it being logged in…that plugin does exactlyw hat I want…dissallows viewing until logged in, but I logge dout, and then typed in the direct video URL in the address bar as was able to download it (even when not logged in!)

    Any help would be appreciated, THANKS!!

    The .htaccess / .htpasswd route is not a desired option then?

    How is this done through .htaccess?

    This is probably a good starting place: https://en.wikipedia.org/wiki/.htaccess

    Basically it’s used to password protect the contents of a directory at the server level, before it even reaches WordPress or anything else. Most webhost control panels include a utility for password protecting directories/files. So basically, you would have to enter this username/password first before even reaching WordPress and then you would have to log into WordPress using the WordPress username/password.

    You may want to look for some more articles on this, too, as many of them don’t include some possibly useful information, or have too much information to try to wade through, but here is one example: https://www.techiecorner.com/94/password-protect-directory-with-htaccess-and-htpasswd/

    Thank you for the suggestions. A quick attempt at password protecting the wordpress sub-directory using the permissions settings through my hosting provider (GoDaddy) didn’t seem to do the trick. i.e. didn’t prompt me for a pwd. Will need to work through that issue with my hoster.

    When I get that issue resolved my next issue will be to figure out a way to avoid forcing the users to type in password twice, once for the OS and once for WP.

    I now that someone has solved this already and would love to hear how.

    For now I’ll use the plugin. But it sounds like it doesn’t protected the backdoor (i.e. someone going directly to specific content).

    Thanks again for the replies. I’m new to WP press but really love it so far and especially appreciate the large user community.

    It looks like Members Only doesn’t work with my version of wp 2.6.5

    Does anyone know of a v2.6.5 compatible plugin to make your WordPress blog only viewable to users that are logged in?

    thx,
    -P

    Got it working with 2.6.5.
    My problem was resolved by setting both the WordPress Address and the BLOG URL because I am hosting several wordpress blogs on 1 hosting site.

    Great plugin!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to FORCE Registration To Even VIEW the site at all?’ is closed to new replies.