Can I change the name of the wp-login or wp-admin file so that I can go to a different filename in order to login. I am trying to prevent hackers from finding my login and wp-login has become a very obvious option.
As far as i know you cannot rename wp-admin. Many themes and plugin uses wp-admin in path. So if you rename it then all your plugins and themes will be broken. If you don't want your users to access wp-admin then restrict it using .htacess If anyone access your wp-admin url redirect them to other page using .htaccess file. Only allow certain IPs to access wp-admin.
For example use this .htaccess code in your root of wp-admin (Not your wordpress root). Create a new .htaccess file there and use this code.
AuthUserFile /dev/null AuthGroupFile /dev/null AuthName "Example Access Control" AuthType Basic <LIMIT GET> order deny,allow deny from all allow from xx.xx.xx.xx allow from xx.xx.xxx.xx </LIMIT>
Replace xx.xx.xx.xx with your IP address. You can add more. Thereafter only you can access wp-admin. You can also use redirection plugin.
If you must want to rename wp-admin then proceed to read more but with extreme caution.
Warning: If you update your wordpress then your site will be broken. You should replace them in themes and plugins too. I highly NOT recommend this option. Use this option only if its mandatory. I'm not responsible for any problem that arises if you use this option.
protected by Community♦ Feb 15 '14 at 0:53
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?