Can you pass user/pass for HTTP Basic Authentication in URL parameters?

It is indeed not possible to pass the username and password via query parameters in standard HTTP auth. Instead, you use a special URL format, like this: http://username:[email protected]/ — this sends the credentials in the standard HTTP “Authorization” header. It’s possible that whoever you were speaking to was thinking of a custom module or code … Read more

Requiring Authentication for Parts of WordPress Site

If you’re looking to restrict the ability to view pages or posts to those that have a specific role, you can use the method described here: https://wpti.ps/check-if-user-has-specific-role-or-capability-in-wordpress/ You could create a custom role for those that need access and then check for that role using the custom function in the link above. If going that … Read more