ted_chou12 Posted January 26, 2007 Share Posted January 26, 2007 is it possible to have a url like:"http://test.com/test"however, this url is not a folder called test with an index page in it, but it belongs to a php page.So what i kind of want to do is to turn:http://test.com/test.php?id=testto:http://test.com/testIs it possible?ThanksTed Link to comment https://forums.phpfreaks.com/topic/35792-unique-folder-url-for-individual-pages/ Share on other sites More sharing options...
gazalec Posted January 26, 2007 Share Posted January 26, 2007 i dont think so because a url is like a directory on your hard drive and each '/' represents a new sub-folder like on a PC C:/programs files/something/file.exe and the php page is a file so it has to add the .php bit at the end Link to comment https://forums.phpfreaks.com/topic/35792-unique-folder-url-for-individual-pages/#findComment-169632 Share on other sites More sharing options...
ted_chou12 Posted January 26, 2007 Author Share Posted January 26, 2007 okay, thanks Link to comment https://forums.phpfreaks.com/topic/35792-unique-folder-url-for-individual-pages/#findComment-169636 Share on other sites More sharing options...
HuggieBear Posted January 26, 2007 Share Posted January 26, 2007 You could probably do this with something like mod_rewrite on Apache.RegardsHuggie Link to comment https://forums.phpfreaks.com/topic/35792-unique-folder-url-for-individual-pages/#findComment-169693 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.