PDA

View Full Version : Extensions In Urls



VitaminWater
07-07-2009, 05:22 PM
I have a website similar to mypage.net. Currently i have it so when people go to mypage.net it brings them to mypage.net/home.php.

Im interested in what i can search for to learn the process of removing that home.php and making mypage.net display the same information that is on home.php.

Also, for subpages like mypage.net/about.php, getting those to just say mypage.net/about

Thanks for the advice!

SlidingHorn
07-07-2009, 06:05 PM
I guess you could place each separate page in its own subdirectory and have them all be "mypage.net/[category]/index.php". As long as your server is configured to find the default page, all they'll have to type is "mypage.net/[category]"

VitaminWater
07-07-2009, 06:27 PM
I cant try to do this right now im at work, i will try when i get home.

I will still be able to pass variables using get and post and in urls, correct?

SlidingHorn
07-07-2009, 06:35 PM
Everything should work just fine as long as you correctly specify your paths