Gossamer Forum
Home : Products : Links 2.0 : Discussions :

opening directory instead of the html page

Quote Reply
opening directory instead of the html page
i'm wondering why everytime i click a link.....i end up going to a directory instead of the page itself.....how can i solve this problem?

Quote Reply
Re: opening directory instead of the html page In reply to
link?? What link? Do you mean category links???

If so, then you probably do not have a default file defined in your .htaccess file or your hosting company has not turned off directory browsing.

What you need to do is add the following in your ROOT .htaccess file:

Code:

DirectoryIndex index.shtml index.html


And if you do not have access to the ROOT .htaccess file or your hosting company does not allow you to have a .htaccess file, then contact them and ask them to set up a default file, like index.html or turn of directory browsing.

In the future, please spend more time searching the forums, as this has been addressed before.

Regards,

Eliot Lee Wink
http://anthrotech.com/