![]() | | ||||||||
| | #1 |
| Michael Danielson War Room Member Join Date: Aug 2008 Location: Olympia, WA
Posts: 210
Thanks: 103
Thanked 9 Times in 8 Posts
|
...instead of a filename like index.php? I'd really like to be able to have people type the name of my website directly, without having to add '"index.php" or whatnot to the end of it (and without having a redirect that adds "index.php" to the URL after it's been typed in, either.) Any of the webmasters here willing to volunteer about how to do that? Thanks! Essence |
| | |
| | |
| | #2 |
| Eschew Obfuscation War Room Member Join Date: Aug 2008 Location: Atlanta
Posts: 623
Thanks: 12
Thanked 48 Times in 40 Posts
|
You could put a page on your server called either default.htm or index.html and do a META redirect to your PHP page. - Russ |
| | |
| | #3 |
| Puppet Master Join Date: Nov 2007 Location: Sydney, Australia.
Posts: 628
Thanks: 7
Thanked 62 Times in 18 Posts
|
Ideally you won't need to do anything. Most webservers are configured so that if you dont put a filename it will search for an index file and display that instead. If this isn't the case you will need to change your DirectoryIndex (in apache) to something like: DirectoryIndex index.php index.html You can add this in your htaccess file. Hopefully this is clear for you . If it sounds too advanced get in touch with your hosting provider.
|
|
Puppets are people too
| |
| | |
| | #4 |
| Michael Danielson War Room Member Join Date: Aug 2008 Location: Olympia, WA
Posts: 210
Thanks: 103
Thanked 9 Times in 8 Posts
|
Thanks, write-stuff had the answer I needed! |
| | |
| | |
![]() |
|
| Tags |
| com or, end, url |
| Thread Tools | |
| |
![]() |