• Resolved jasonbrogdon

    (@jasonbrogdon)


    How do I hide the directory for this plugin but still be able to use it properly? I am being asked to block directory browsing i.e. https://sitename/wp-content/plugins/woocommerce

    When I block it, the product data section stops working. How do I fix this? I need to secure the directory but not break the plugin?

    So far, I used a .htaccess file in the directory and it did block the viewing of the directory but broke the plugin.

    Thanks in advance for you help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You mean directory listing? Add this to .htaccess file:
    Options -Indexes

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding Directory’ is closed to new replies.