Allowing registered users only access in Joomla 2.5

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

From personal experience (from a web hosting technical support rep), I can tell you that many people want the ability to only allow registered users to access certain pages in their site. Joomla 2.5 makes it very easy to block access from the public and only allow registered users the ability to access certain pages. In this Joomla 2.5 tutorial, we’ll walk you through the steps for preventing public access in Joomla 2.5.

To prevent public access in Joomla 2.5:

  1. Through your Joomla 2.5 admin, open for edit either the article or menu item that you want to prohibit access on
  2. Next to Access, in the drop down change Public to Registered
    select-registered-access

  3. Click Save in the top right menu

    Whenever someone tries to visit the page that is no longer public, they will instead be asked to Please login first:
    please-login-first

    If you’d like, you do have the option to change the Please login first message that you see in the above screenshot.

17 thoughts on “Allowing registered users only access in Joomla 2.5

    1. Thanks for the question about having a user edit only their content. This can be done with specific user roles. An author can edit only their content. Additionally, you (or another administrator) would still need to moderate the content so that it can be published. You can also create user groups and assign users to those groups that have specific permissions. To learn more about assigning and adding user groups, check out: https://www.inmotionhosting.com/support/edu/joomla/joomla-2-5/create-new-user-group/.

  1. Hi,

    how can I create the page that the student will be able to see their examination result and before that they must login first

  2. hi, how do you change the “LINK” register to read more… i am useing joomla 3.x. and once a person clicks on the register to read more link, I would like for this link to take them to an article.

    Our site is a pay first site. so, the article will give them directions on how to go about paying first.

    1. Hello The1mc,

      I am not quite sure what you are asking. Are you asking to change the link text or to have some sort of popup when they click on the link? Also, this article is for Joomla 2.5 so there may be different features or fields involved in 3.x.

      Kindest Regards,
      Scott M

  3. Is it possible to allow specific registered users to only see specfic pages. For example, I have customer group A & group B. Is there a way to prevent group A from see group b’s articles even though they both have registered user access? I have set up specific user groups under registered, but in menu it only gives the option of public, reigster etc, not the specific groups I set up. 

    1. Hello Natalie,

      Thank you for your question. The easiest way to limit groups to specific pages/articles in Joomla, is to use one of the many Extensions available.

      If you have any further questions, feel free to post them below.
      Thank you,

      -John-Paul

  4. I only want to give a registered user the ability to view a page (Menu->iframe Wrapper->external page URL) one time and then take this ability off. Similar for all registered users.

    1. Hi Asim, thanks for getting back with us. The functionality you’re looking for unfortunately isn’t in Joomla. I searched Google for joomla only allow access once to menu item but did’t find any plugins that would do the same thing.

      You could possibly look into an account expiration plugin, like the one discussed here – but I don’t think that will do what you need.

      UPDATE
      The link found within the thread above is broken, here is the correct link to the account expiration control extension.

    1. Unfortunately, I am unaware of a solution that will allow this, but you may be able to have a developer custom code a solution for you.

    2. Hi Asim, I’m not sure if I understand your question. You only want to give someone the ability to register one time, and allow them to see an article only once?

      Can you explain more what exactly it is and why you’re trying to do it? If we have a better understanding of what it is you’re trying to do we may be able to help.

Was this article helpful? Join the conversation!

Server Madness Sale
Score Big with Savings up to 99% Off

X