• Resolved manoranjan11

    (@manoranjan11)


    Hey,

    I just installed and activated WooCommerce and It gives the error “Your store’s uploads directory is browsable via the web. We strongly recommend configuring your web server to prevent directory indexing.”

    screenshot of the admin panel error and the link

    https://ibb.co/YdGNXH6
    https://ibb.co/7K53MLs

    I already tried checking the cpanel and no index is enable

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Rafy a11n

    (@nawaz0705)

    Hi @manoranjan11

    This could probably be a false positive, so can you try adding the following line of code to see if it removes the warning?

    add_filter( 'uploads_directory_is_public_notice', '__return_false' );

    For adding code snippets, you can use a plugin like Code Snippets

Viewing 1 replies (of 1 total)
  • The topic ‘getting error that my directory is browsable by web’ is closed to new replies.