Disable directory browsing of uploads folder

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 … Read more

WordPress .htaccess to consider blog as directory

This is not answering the exact question you posed, but as as far as I am concerned, your current attempt is the wrong approach to solve the problem of wrong image paths after moving anyway. Rather than what you are attempting to do, either replace the image paths in the database, or redirect those. While … Read more

Need help rebuilding lost htaccess file

It’s tricky to do this… Requests for any other subfolder (assuming it exists) should go through to to the folder requested (e.g. mydomain.com/proxy or mydomain.com/shop are passed through to their respective folders /proxy and /shop). …in combination with… Requests for subfolders which do not exist, should be routed through to mydomain.com/site …without losing the ability … Read more