To disable directory browsing all you have to do is drop in a blank index.html
file into the wp-content\uploads
directory, each subsequent sub-directory also would need a blank index file, there are plugins that can automatically do this for you.
ps. Get a better host, there is no reason they should disallow you having your own .htaccess files.
Related Posts:
- File and directory permissions
- Improve wordpress security by hiding non public resources
- Does this .htaccess security setting really work?
- Place static HTML files in path below WordPress page
- .htaccess for wordpress inside another wordpress install
- Isolating WordPress to a subfolder
- Permalinks not working on second wordpress installed in a subdirect
- Move wordpress to folder without changing urls
- Change wp-content without changing the name of the folder
- Using “wordpress_logged_in” to restrict direct access to uploads folder in 2021
- How to restrict access to wp-content, wp-includes and all sub-folders
- WordPress URL/Folder ReWrite using Htaccess
- Which WordPress scripts need to be executable for a fresh installation?
- Redirect main domain to subdirectory
- Blocking access to wp-login via htaccess not working
- Exclude subfolder from WP-redirect works with html but not php files
- Attach to wp-login.php and xmlrpc.php
- XMLRPC filtering through htaccess not working
- Restricting user login by IP address
- Can’t Access Subdirectory
- WordPress: Adding Security
- Fixing custom 404 pages broken by WordPress in a subdirectory
- WP install in sub-dir white screen
- How do I test to ensure that my wp-config file is protected?
- WordPress not seeing .htaccess rules
- Drawbacks to using Options -Indexes
- WordPress installed in root, need second in subdirectory with different domain
- Rules in .htaccess only if the requested URL is /wp-admin
- htaccess, site and staging in subdirectories
- External content won’t load in iframe in Safari
- I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it’s working. Why?
- Strange behaviour of is_user_logged_in() and get_current_user_id()
- Creating a copy of a website in a subdirectory, wp-admin redirect problem
- Access sub-domain when root public_html is protected with .htaccess password
- Cannot access subdirectory subpages
- Selectively Disabling PHP via .htaccess in Root Directory
- How to execute WordPress as though it is in the root folder while it is installed in a subdirectory?
- WP Codex answer incomplete? Put WP in subdirectory. .htaccess change required
- Should I prevent access to .htaccess and wp-config.php files?
- Blocking wp-login in HTACCESS has also blocked password protected pages
- Basic Auth .htaccess on wp-login, but allow logout from woocommerce
- Using htaccess to prevent spam through wp-comments-post.php
- Install second wordpress in root subfolder, Error 404
- Remove subdirectory from links
- How to properly give WordPress its own directory
- htaccess- to hide subdirectory slug only from the post
- How to direct users to a subcatalog
- Installing wordpress on subdirectory 2 levels down
- Cannot Override WordPress 404 for a Sub-Directory
- htaccess mod_rewrite not working
- How can I create a private site that is inaccessible from the outside?
- .htaccess and virtual host configuration for WP in its own directory
- Giving WordPress it’s own directory and using .htaccess Directory Index
- Restrict Content for only Contributors via .htaccess
- Allowing access to certain WordPress created pages or posts with htaccess / htpasswd
- Move WordPress to subdirectory, keep ALL URLs
- Change Login URL Without Plugin
- Site redirects to wrong url when saving settings
- Options for restricting access to wp-admin
- Remove year and month in URL using .htaccess
- Unable to access WP admin
- Using WordPress only for the backend, and using AngularJS as a frontend
- Protect Upload Folder Files With Ampersand Problem
- .htaccess and WordPress Admin Bar
- How to Redirect huge numbers of URLs to another URLs?
- Struggling with add_rewrite_rule
- Giving WordPress its own subdirectory – nginx
- How can I make an htaccess file on a Mac? [closed]
- WordPress overrides custom 404 page with it’s own
- Case insensitive header params for API request
- 301 Redirect domain Sub-folders to Subdomain subfolder
- Override 404 page with htaccess
- Htaccess Rewrite reverts to default .htaccess file
- what could cause the htaccess file to be modified?
- change permalink structure with htaccess without SEO impact
- Site in subfolder – all pages work except home
- Can’t upload .htaccess after editing in notepad
- Directing subdomain to main domain and keeping the subdomain format with .htaccess
- Remove /sites/25/ from image URLS
- How disable canonical redirect wp-signup
- How could a .htaccess with authentication suddenly appear or change?
- Password protect directory but not files
- fix 302 redirection error on https
- main-domain of wordpress keep redirecting to subdomain
- How to deny access to a particular wordpress site url
- Rewrite URL in address bar for a specific page [closed]
- Home links redirects to old site
- Configure .htaccess to have a WordPress single site installation with all subdomains pointing to the same pages?
- Rewriting subfolders to specific parent folder in WordPress
- domain redirection is not working from old to new
- Deny,Allow on .htaccess isn’t working
- modifying htaccess for localhost with a custom port
- .htaccess redirects for posts in new directory and new domain
- Redirect from domain.com to subdomain.domain.com
- How do I block a subdirectory from WordPress theming?
- MAMP.app & .htaccess – Can’t override after config
- register_post_type and register taxonomy and htaccess
- Why ‘Authorization Required’ is coming on wordpress login
- Couple questions about .htaccess, login page, updates
- .htaccess rewrite rule stopped working for wordpress site after moving server