Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?