I would like to be able to view individual files and list of a sub directory by entering in the url. I have around 100 folders with images and I want to be able to click on links and see the images. I previously had this and the developer has done something to stop it!
For example my website is example.com
and I have a folder called 2176
; I want to be able to enter example.com/2176
and I want to view the list of files and the date the file was modified (if possible).
I have read it is just a change to the .htaccess
file. I can post my .htaccess
file but Stackoverflow wouldn't allow me to post it as it saw errors.
I tried removing the /
after RewriteBase
, but that didn't work
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress