E
E
Evgeny Koryakin2019-03-26 20:31:43
API
Evgeny Koryakin, 2019-03-26 20:31:43

How to disable all access to WordPress leaving only the REST API?

Hello.
There is a mobile application that uses WordPress as a back-end.
Is it possible to isolate the site from everything except the Front-End?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Kulikov, 2019-03-27
@zettend

The first thing that comes to mind is to create a theme with an empty index.php, and use the plugin to transfer the console login from the standard wp-admin/login to some secret one. In this case, when entering the site, the user will receive a void. You can still get confused and put a redirect for non-administrator users.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question