Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #335674

    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

    #337581

    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

    #342221

    Thanks Josue. That didn’t seem to work. It also look like Hide my WP is not available anymore. Any other suggestions? Thanks

    #343267

    Hi!

    You can find HideMyWP here:
    http://wpwave.com/

    Cheers!
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.