What I am attempting to do
- Altering the login-URL from
https://instance.org/wp-loginredirect to the 404-page.
If I Google it, then I discover a few recommendations, the place
/wp-admin/wp-login.php is renamed/modified. Which clearly is a horrible thought (causes: By no means change core! + It can reset upon updating WordPress).
I am at the moment utilizing WP Cerber which has it as an choice to alter the login-URL. However for some purpose, then the choice would not work.
I do know that can probably discover a plugin that does this. However I hate putting in plugins for easy issues, to keep away from having a bazillion plugins.
I would like to not do it within the
.htaccess-file, since I do not commit that to my code-respository.
Can it’s carried out from