I'm a bit embarrassed to come here cap-in-hand with a very simple query but I can't find it spelled out clearly enough for me to risk it on my home page...
I'm on a virtual server and can't see the httpd.conf, but I can write my own .htaccess
When my home page was url/index.html, it could be reached by url/ and that was what stayed in the address bar, courtesy, I guess of the httpd.conf
I changed just that one homepage to PHP last week. I know some websites have linked to me including the index.html, so I put a redirect on url/index.html to url/index.php using htaccess.
So far so good!
Now, by whatever means someone addresses my site (with or without either type of index file), the address bar always has index.php on the end. I guess it goes from url to url/index.html to url/index.php
I'd like to get rid of the index.php from the address bar, just for this one page, only using htaccess and without going recursive (as happened on my one experiment!)
Has someone got an example I can copy?
[edited by: DerekH at 5:23 pm (utc) on June 19, 2007]