Welcome Guest, Not a member yet? Register   Sign In
Load index.html file instead of index.php first?
#1

[eluser]Computerzworld[/eluser]
Hello. I am having a problem that I want to load index.html file instead of default index.php. I want to load index.html because it contains the javascript code for ajax preloader and that calls my index.php. but I am unable to load index.html directly. Which changes I have to make in order to load index.html? Here is the .htaccess file which is at the root of my site.

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|uploads|jscripts|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

Please help me. Thank you in advance.
#2

[eluser]nmweb[/eluser]
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|uploads|jscripts|robots\.txt|index\.html)
RewriteRule ^(.*)$ index.php/$1 [L]




Theme © iAndrew 2016 - Forum software by © MyBB