Ok,
Basically I have created a site where users can register and login etc. And the only links they see are to write a post, or to edit their profile.
The only thing I'm worried about is if a user gets curious and tries accessing the index file in wp-admin.
They won't be able to change anything, but I've changed the write post and profile pages to match the site and if they access the index file in wp-admin they'll see that everything else is messed up.
Is there a php code I can use so that if the user is a regular user and they access wp-admin it redirects them to the homepage?
Thanks in advance.