Hi, is it possible to set htacces that some url could be redirected to some file if file exists? for example http://www.site.com/file/ -goes to http://www.site.com/file.php Also, if a folder exists should go to folder: http://www.site.com/folder/ should go to http://www.site.com/folder/index.php - understand? Could you help me on that? Thanks. If you want pm me, thanks.
You would need to read a standard htaccess mod rewrite tutorial. For the folder/ --> index.php example, just need to type: DirectoryIndex index.php
But how do i set http://www.site.com/file/ -goes to http://www.site.com/file.php using mod _rewrite? Thanks.