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?
Jul 23, 2001, 9:33 PM
Veteran (17240 posts)
Jul 23, 2001, 9:33 PM
Post #2 of 2
Views: 1290
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:
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
http://anthrotech.com/
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

http://anthrotech.com/