This is what is in .htaccess

Options All -Indexes # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress 

In the root of the wordpress files, I created another folder (pdf) and put the index.html file and several archives for download, but when I go there I get an error. How to allow access to this folder?

    1 answer 1

    Put in this folder your .htaccess, in which:

     DirectoryIndex index.html