PDA

View Full Version : rename index.php?


ilostmydream
07-06-2006, 05:02 PM
hi everyone :)

i'm trying to work my flash music player into my photoblog (i'm a composer and i often write music to go along with my photographs). i figured that the best way to do this would be to have the player in a bottom frame and the photoblog in another frame. i managed to do this alright, however i've had my site for about a year and a half and everthing is linked to the index.php and not the index.htm. also when i just go to the main photoblog website it just loads the index.php. here are the links:

http://www.mailelani.com/10_stuff_photography/index.htm <- i want all of the http://www.mailelani.com/10_stuff_photography clicks to go to there but they go here (http://www.mailelani.com/10_stuff_photography.php) instead.

i thought maybe i could reaname the index.php but would that mess up my rss feed?

GeoS
07-06-2006, 05:26 PM
Use .htaccess for definition of new more important, then index.php, directory main document (Apache's DirectoryIndex directive). It will be the easiest way of placing new root document.

ilostmydream
07-06-2006, 06:34 PM
yeah i actually tried that and it didn't work :( i don't understand why because it works in other directories?

ilostmydream
07-06-2006, 07:46 PM
hahah never mind i figured it out.. my server had a delay lol.