Quote:
|
Originally Posted by DamageX
Put this in your .htaccess:
Code:
DirectoryIndex main.html, index.html, index,shtml, index.php
This redefines the order in which it looks for your index pages. If you leave it only to main.html (assuming that's the name of your main page, if not rename as fit), then it will look for it in all further subdirectories. Thus the need to add more pages to the list.
|
Thanks for your time but what I want to do is :
when there is no index file, it just redirects to the site URL.
Basicly i got hundreads of folders containing galleries but do not use any index page. users try too type new folders to see if there are more galleries... so i want to use the 404 traffic to feed a tgp.