WP Manifestindependent plugin directory
manifest / security / rest-domain-redirect

REST Redirect Domain

Redirects 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).

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/gamaro7/rest-domain-redirect/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.