Hello: I’m trying to find an elegant way to handle this kind of errors:
http://indicators.ifipartnership.org/wp-content/themes/enfold/
I know that users are not supposed to get to this directory, but if someone is trying to find weaknesses and they know I’m using WordPress, they might try to access this directory. Is there a way to display a custom error when this is attempted? Thanks
Hi!
If you want to hide those errors simply add this line to your wp-config.php:
error_reporting(0);
If you want something more advanced, you’d need to use a third-party solution like Hide My WP.
Regards,
Josue
Thanks Josue. That didn’t seem to work. It also look like Hide my WP is not available anymore. Any other suggestions? Thanks