|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
I have recently modified my site so that there is a PHP Include on each page that links to an external tree-menu. The index.htm page must now be index.php - so how would I get the url to point directly to this, rather than seeking an index.htm page..? Does this make sense..? Thanks in advance, Darren. |
|
|||
|
Hi Paul, thanks for that, you're right.
The problem I had was I didn't delete the index.htm file - So that was first choice over the index.php... It's all starting to make sense to me... Thanks again, Darren |
|
||||
|
How do I get index.php to be my index page?
I deleted index.html and uploaded index.php, but it didnt become my index page, how can I change this? (BTW, almosy my entire site is in PHP now!)
__________________
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |- >(^_^)> | (t^^t) | <(^_^)< -| - - - - - - - - - - - - - - - - |
|
|||
|
Hey Labrynth
You discovered php, awesome! Are you familiar with .htaccess ? If not... Open notepad and call it htaccess.txt Inside it put Code:
DirectoryIndex index.php index.html Upload to your root directory, then rename it to .htaccess - and you should be good to go |
|
||||
|
Hi all,
Just to let you know that I've merged labyrynth's and Darren's posts, seeing as they were virtually dealing with an identical question. Maybe the pair of you can bounce ideas off one another if you're at the same stage with PHP? Paul |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |