Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress WordPress User Roles An Overview of User Roles The Author Role in WordPress

Stavros Sofroniadis
PLUS
Stavros Sofroniadis
Courses Plus Student 1,503 Points

Author user canot log in Control Panel

Have created an author user in live site and afterwards log out as admin and tryed to log in as author.

Hoerver, when typed username/password content instead of log in into WordPress Control Panel appeared Front End site.

Have tryed the same thing with a local site(xamp) and without any problem log in in WordPress Control Panel as author.

if you could assist, why in live web site canot log in as author & in local web site can log inas author?

Thank You

2 Answers

This is most likely something within that site that does that. You can create functions that based on user role just redirect to the homepage vs allowing the admin.

Stavros Sofroniadis
PLUS
Stavros Sofroniadis
Courses Plus Student 1,503 Points

Thank You for reply, Needs to create PHP functions in order to redirect to Home Page rather than allowing admin?