NiftyHost Forums (Archive)
[SOLVED] [SOLV'D] Pages - Printable Version

+- NiftyHost Forums (Archive) (https://niftyhost.chary.us/support)
+-- Forum: NiftyHost (https://niftyhost.chary.us/support/forum-3.html)
+--- Forum: Customer Support (https://niftyhost.chary.us/support/forum-6.html)
+--- Thread: [SOLVED] [SOLV'D] Pages (/thread-227.html)



[SOLVED] [SOLV'D] Pages - YTGraphics - 05-16-2010

for some reason, when you type my websites address into the address bar, it goes to a page listing the pages and folders in the public_html area, and not going to the homepage only listing the hompage, how do i fix this without me making it just redirect you the index page?


[SOLV'D] Pages - Matt - 05-16-2010

Are you sure you have a file named index.php or index.html in your site?


[SOLV'D] Pages - YTGraphics - 05-16-2010

[Image: 1273961481.png]


[SOLV'D] Pages - Zach - 05-16-2010

Add this line to your .htaccess:
Code:
DirectoryIndex index.htm



[SOLV'D] Pages - YTGraphics - 05-16-2010

wait what do you mean add that line to it?


[SOLV'D] Pages - Mone - 05-16-2010

So it will send it to your index file


[SOLV'D] Pages - YTGraphics - 05-16-2010

sorry i forgot to say i got it working


[SOLV'D] Pages - Matt - 05-16-2010

Good job!


[SOLV'D] Pages - YTGraphics - 05-16-2010

(05-16-2010, 12:16 PM)Matt M Wrote: Good job!

:D