Prevent users from accessing a file in my wp site

38 views
asked Oct 11, 2012 in Website Builder by MirrorXYZ (1,400 points)
Hi ,
I have a wordpress website and I am using the twenty eleven theme. I am looking for a way to prevent visitors of my website from accessing /wp-admin/post-new.php. Can any one please assist?
Your advice is highly appreciated.
Thanks

1 Answer

0 like 0 dislike
answered Oct 11, 2012 by ZakWeb (3,880 points)
Simply assigne the role of Subscriber to your users. Go to admin -> settings -> general and assign the New User Default Role as subscriber.
...