At present wordpress
, many people who use, more or less will appear backstage is logged in many times the weather, the road is not good to be in, generally everyone through the correction wp-login
file to protect the wordpress
backstage, but this kind of way has a not convenient location is every time WP
upgrade and re-change again, The feeling is very trouble, but uses Nginx
the auth_basic
basic http
textual research function to protect the web
file under the directory, therefore we can use this file to protect the wp-login.php
file, the result is enters the backstage, also needs the textual research success, this feeling is very effective. Here is an example of an army brother's lnmp
environment.
More Settings please
Hope that the above article is useful to you, if you feel good give me a little like it! More and Nginx environment use Auth_basic password to protect the WordPress background login interface related issues or the choice of Australia host have doubts also welcome everyone consultation.
Nginx Environment using Auth_basic password protection wordpress Background Login Interface