Also, I have the multiple tlds for my domain.
Example: mydomain.com, my domain.net, mydomain.org, mydomain.biz, etc...
My main website is mydomain.ORG. But I have the .net, .com, .biz, etc. redirecting to mydomain.org. I have the redirects set up so that if you go to mydomain.COM/contact it redirects you to mydomain.ORG/contact.
Using your plugin, when I go to mydomain.ORG/wp-login.php I get the 404 page. But when I go to mydomain.COM/wp-login.php it redirects to mydomain.org/wp-login.php and shows the login form.
How can I prevent this and get it to show the 404 instead?