Install
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/wordpressutilities/wpuhtaccessprotect/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Replicate htaccess admin protection on some files
WP-CLI Actions
Dump WPU htaccess protect rules
wp wpu-htaccess-protect-dump
Update WPU htaccess protect rules directly in the .htaccess file
wp wpu-htaccess-protect-update-rules