Hello,
Would like to have some tips or guidelines on how to rewrite my .htaccess.
Im building an website which will work as an API and CMS for a mobile app and would to pretty much make the whole front-end unaccessible, except for the API Requests.
I would like the .htaccess file to only let through REST HTTP requests to my API endpoints(http://example.com/wp-json/...) and redirect everything else to /wp-admin/. Also blocking all robots and crawlers would be a bonus.
Anyone who could assist?