Moved to Fixing WordPress, this is not an Everything else WordPress topic.
I would like to know how to improve wordpress security.
That’s good. Start by giving this a good read and implementing those.
https://ww.wp.xz.cn/support/article/hardening-wordpress/
I could just enumerate the username and it shows that the username doesn’t exist.
So what? Usernames are the part you can never keep from being known. It’s pointless to even try. Almost all systems will accept your email address as well as your user ID and you give out your email address everyday.
If you are concerned then use strong passwords like these.
yfk8AJZ.gze7tpe*rmp
nqm2qed_ytf0UEG7vme
zxp!xtj1wxd2ZAY6axa
Don’t actually use those but you get the idea. WordPress supports up to 4096 character long passwords.
Or implement 2FA via hardware tokens or a time based generated password.
https://ww.wp.xz.cn/plugins/search/two+factor/
I personally use this. It works with Yubikey and time generated passwords.
https://ww.wp.xz.cn/plugins/two-factor/
2) How do I disable xmlrpc.php
Try one of these.
https://ww.wp.xz.cn/plugins/search/disable+xmlrpc/
3) And disable the following /wp-json/wp/v2/users”
Try this one. I have a feeling there’s an option now in core WordPress but this looks like it will do it.
https://ww.wp.xz.cn/plugins/disable-json-api/
4) What are some of the most common wordpress security flaws?
Users who use weak Password123 passwords and do not maintain both their WordPress code, plugins and themes and run on web hosts who do not maintain the OS code and packages outside of WordPress.
The best maintained WordPress installation on a shared server is only as secure as the host and the other people running insecure code on the same server.
-
This reply was modified 4 years, 5 months ago by
Jan Dembowski. Reason: Grammar and word fix