0

I installed Drupal(7.31) on an xampp server (in localhost). Then created some new contents as pages with menu items. Now when I logout and try to access that page, "Access denied" message is shown.

admin view

anonimous view

Can someone tell me how to allow public access to a page?

Mario Araque
  • 4,562
  • 3
  • 15
  • 25
Sampath Liyanage
  • 4,776
  • 2
  • 28
  • 40
  • what type of content did you create? What is the front page set to? โ€“ 2pha Oct 04 '14 at 01:28
  • Thank you very much for the reply. I added a "basic page" (admin menu > Content > Add content > basic page). In the home page, I ticked "published" and "promoted to front page" as publishing options. In the about me page, I ticked only "published". (see the links given in the question) โ€“ Sampath Liyanage Oct 04 '14 at 05:59

1 Answers1

0

Got the answer. You have to visit "Administration ยป People". There you can change permissions and define user roles. If you give "View published content" permissions to "anonymous" user, the pages can be accessed by anonymous.

Sampath Liyanage
  • 4,776
  • 2
  • 28
  • 40
  • 1
    Also @Sampath Liyanage, just for your information, there is a good module available in Drupal 7 which allows admin to provide permission to view nodes content type wise. Check out [this](https://www.drupal.org/project/node_view_permissions) โ€“  Oct 10 '14 at 11:16