I think it's easier to understand like this: When I enter my domain:
www.site.com.br
Usually go to index.php
But I do not want it to go to index and yes to inicio.php
How would an htacess rule be for this?
I think it's easier to understand like this: When I enter my domain:
www.site.com.br
Usually go to index.php
But I do not want it to go to index and yes to inicio.php
How would an htacess rule be for this?
Follow the example
DirectoryIndex inicio.php
If you are using Apache, open the httpd.conf file and change the DirectoryIndex line to:
DirectoryIndex inicio.html index.html index.htm
In this way, the default file Apache will look for will be start.html. If this file does not exist then it will look for a file named index.html (the default), and so on. If you do not find any files, you will list the contents of the directory if this is allowed.