0

A client has asked me to exlude "/login" as they want to have the url to lead elsewhere (to a remote system). When typing this url it automatically redirects to "/wp-login". How can I remove / prevent this?

1

If you're hosting on Apache you could do this in your .htaccess file by adding the following before any of the Wordpress rewrite rules.

RewriteRule ^login$ http://example.com/ [NC,L,R]

Just replace "http://example.com/" with your clients remote system URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.