Good afternoon/evening everyone! I am new at this and would like some help.
I have a domain xxxxx.com which when users link to it loads webpage index.html.
However, this hi page needs to execute some php and I know in order to do that the file extension must be .php.
Is there a simple way for my users to continue typing my domain name and then go to e.g. index.php?
Your help will be greatly appreciated.
Regards
Frits Evenbly
Southlake, TX
Index page after loading domain name
Moderator: General Moderators
Re: Index page after loading domain name
Type the following in your .htaccess file:
By the ways, servers are usually configured to load index.php if there is no index.html
Code: Select all
DirectoryIndex index.php index.htmlRe: Index page after loading domain name
Thank you very much, that is a lot simpler than I realized! I was going to write some fancy way via javascript and using include in php etc.
Now I just renamed my index file and it still loads.
Thanks again
Frits
Now I just renamed my index file and it still loads.
Thanks again
Frits