When you upload files to your website without an index file being present in the root directory or subdirectories, visitors would normally be able to view the contents of the relevant directory freely. However, on our web hosting packages, this feature is disabled to keep your website secure. Instead, visitors will see a 403 error.

Adding an index file
Always make sure there is an index file present in the folders that contain your website's files. Depending on the type of website, either an index.html or index.php file is used. This file will make sure the contents of the folder or subfolder are shown.
When adding an index file, you can use an empty index.html or index.php file. You can add content to it as you wish. The most important part is that the file is present.
To make an index file, it is best to use a program that supports these types of files. We recommend to use Notepad++ for this because Notepad++ allows you to save 'empty' files.
Save the file using the name 'index' and choose .html or .php as the file type. You can use SFTP to upload it to the folder which is missing the index file. Your website will then show the content of the website instead of showing a list of files.
When you have installed WordPress on your hosting package, the index.php file will be created automatically in the correct folder. If you add a folder to your website, make sure you manually add an index file to it.
How to enable showing my files as a list
The image below is an example of a website where the index file is not present:
If you do want the files to be displayed as a list when there is no index file, you can consider adding the following .htaccess rule to a .htaccess file in the root directory or a subdirectory.
# This will make sure pages without an index file are shown Options +indexes
Adding this rule ensures that all parts of your website that do not contain an index file will still be visible.
When you visit the website, the web server will display the contents of the directory. It does this by looking for an index file, which ensures that your directories and files are displayed correctly. If no index file is present, the web server will display the directories and files in alphabetical order.