M
M
Minusator2018-08-09 13:56:37
WordPress
Minusator, 2018-08-09 13:56:37

How to restrict access to wp-admin and wp-login.php in Wordpress portal?

Good day!
There is a portal system on wordpress with a custom registration and authorization form (pop-up window) through which users of the Authors group enter.
In addition to this, wordpress social login works which accesses wp-login.php
1. It is necessary for authors to restrict access to the admin panel, since they have their own profile in buddypress.
2. Deny access to all links /login, /wp-admin, /admin, /wp-login.php to all users, but so that authorization through the social. networks worked and logging out of the buddypress profile also worked.
On a good note, I come to the conclusion about the need for a single form of authorization, either for the admin or for a simple author.
How can the above restrictions be correctly implemented? No plugins!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-08-09
@azerphoenix

Hello. Have you looked at the Users Role Editor plugin by any chance?
And for a personal account and a unified authorization system, see the Wp Recall plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question