How to configure index.html and index.php using .htaccess
-
I’ve been trying to get splash page (index.html) and home page (index.php) to work correctly but nothing seems to be working in my .htaccess settings.
So let me backup a bit and tell you what I’m trying to do. The page I have has a splash page (index.html) that will contain some static html elements and a link pointing to the home page (index.php). I’ve read through out the forums and several hours of googling and scouring the web from one forum to another and can’t seem to find out why it’s not working for me.
I’m running a linux server w/ php5.2.4 and wordpress 3.4.1 (fresh install)
I’ve created an .htaccess file w/ the following code inside it.
# Provide Specific Index Page (Set the default handler) DirectoryIndex index.html index.php
Index.html loads fine, but when I go to sitename.com/index.php I just get redirected to index.html
I can’t seem to figure out as to why it’s doing this and a solution to resolve this. Any help would be greatly appreciated.
- The topic ‘How to configure index.html and index.php using .htaccess’ is closed to new replies.