Home Forums WordPress Plugins Hide My WP Why the hide_my_wp directory is accessible ?

This topic is: resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #166
    DarkVador777
    Active
    Post count: 15

    Hi,

    I install the last version of HMWP on a fresh WP 3.6.1 install, everything works fine.

    But while I was testing the hiding, I notice that the only plugins directory accessible is the one of HMWP. I can navigate with a browser wihtin the whole directory.

    HMWP isn’t hiding itself ?

    I have read the Quick Fix Guide and the FAQ and didn’t find a clue.

    The .htaccess is there, and HMWP can modify it (in fact HMWP create it as I didn’t had one before).

    Regards.

    DV777

    #172
    DarkVador777
    Active
    Post count: 15

    and it seems, I’m not the only one look here

    • This reply was modified 7 years, 6 months ago by DarkVador777.
    #175
    Hassan
    Post count: 955

    Smart 🙂

    Simply add this rule to your Replace URLs field:

    wp-content/plugins/==nothing_404_404

    Try here again

    #176
    DarkVador777
    Active
    Post count: 15

    OK it works but it’s a workaround isn’t it ?

    Will you add this in the code in a next release ?

    #193
    Hassan
    Post count: 955

    Sorry for delay,

    I in rare cases a plugin may need to directly request files in its folder. In these cases above rule will block access.

    Therefore, if you experience problem it’s better to use this one:
    wp-content/plugins/hide_my_wp/==nothing_404_404

    Yes, I’m going to add it (the second rule) to future version. You can hide any other folder with same method.

    #204
    DarkVador777
    Active
    Post count: 15

    Right, it causes troubles to ‘WP Maintenance Mode’

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.