Hello, I do not know much about php or web development. I am creating a website based on PHP template and I want to have www.mysite.com/index.php to be the first page when i key in the site address. I believe, the first page that is loaded into the browser is index.html when i type in my site address, i renamed it so that the index.php would load first. but the browser is coming up Page Not Found. ANy help would be appreciated. Thanks
If you are using Apache, you can use the .htaccess file. you should add there "rewriterule index.html index.php"
Softcloud, when i provide, www.mysite.com/index.php it works fine. my hosting provider is for php solutions
Ahhh, hmmm... that is strange then. :/ Couldn't you use a META Redirect from index.html to index.php ?
What if you type in manually http://www.site.com/index.php? Do you see the PHP Code or the correct HTML output? This would let you know if PHP is enabled or not. Moreover, you should let us know what is your server config so that we know what to suggest to you.
It is possible that index.php isn't in the DirectoryIndex list, as nico_swd suggested. I've seen it a few times that there's only index.php3 and .php4. Try adding that.