Redirecting Directory to File! How?

  • Answered
Whenever I Try To Visit A Directory On My site Such As It Shows The Contents Of The Directory Instead of opening page.html.Note: I am Not Using any CMS For My Site ,It Is HTML only.To rename the page to index.html would mean editing over 500 pages.i Didn't Notice as i was building my site offline until i had a domain set up.
Hello, Thank you for your question on your directory redirect. Showing the directory contents instead of a page is normally because the default index file is not present. I am happy to check your specific URL for you if you wish to provide it. If you have named all your index files as one specific thing, such as Index.html vs index.html, you can set the Directory Index file name within your htaccess file. Kindest Regards, Scott M