goncaloneves / rest-domain-redirect Goto Github PK
View Code? Open in Web Editor NEWRedirects users to root domain before template loading. Useful when the WordPress installation is a sub-folder REST API and you want to restrict its public access. This behaviour won't affect requests to administration and other plugin's output (ex. JSON REST API plugin on /wp-json).
Home Page: http://www.goncaloneves.com