Hi jimshouse! This plugin cannot redirect wp-json calls as WordPress does not load the theme or plugins for wp-json.
It does work for siteurl/wp-json and /wp-json/ but when the wp-json/ parm is followed by anything else like /wp-json/oembed… the redirection fails.
the 3 filters i am using now are
/wp-json to /ForgiveMe
/wp-json/ to /ForgiveMe
/wp-json/(.*) to /ForgiveMe
the first 2 work great how should i format the 3rd call to get the plugin to redirect for
command lines that start with /wp-json
please help i am trying to stop people from getting into my sites
Hi jimshouse! Wildcard paths are not supported with this plugin, you do need to specify a separate redirect for each path/URL.