InMotion Hosting Support Center

Redirecting Directory to File! How?

Category: How To

InMotionFans
n/a Points
Asked:
2015-07-20 10:23 am EST

Hits: 60
Whenever I Try To Visit A Directory On My site Such As example.com/Home/ 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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

scott
Staff
43,761 Points
2015-07-20 10:47 am EST
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

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

   
Social Login Joomla

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!