Enforce user to use this plugin “HC Custom WP-Admin URL plugin” -
http://wordpress.org/plugins/hc-custom-wp-admin-url/
Medium but secure approach
i. Go to user home folder and run this cmd
$ htpasswd -c .wpadmin admin
ii. Change the .wpadmin user and group ownership to username.
iii. Goto public_html and open .htaccess, at the bottom of the file, add this
<FilesMatch "wp-login.php">
AuthName "Authorized Only"
AuthType Basic
AuthUserFile /home/username/.wpadmin
require valid-user
</FilesMatch>
NOTE: replace username with actual username.
http://wordpress.org/plugins/hc-custom-wp-admin-url/
Medium but secure approach
i. Go to user home folder and run this cmd
$ htpasswd -c .wpadmin admin
ii. Change the .wpadmin user and group ownership to username.
iii. Goto public_html and open .htaccess, at the bottom of the file, add this
<FilesMatch "wp-login.php">
AuthName "Authorized Only"
AuthType Basic
AuthUserFile /home/username/.wpadmin
require valid-user
</FilesMatch>
NOTE: replace username with actual username.
No comments:
Post a Comment