kr3m3r Posted August 22, 2007 Share Posted August 22, 2007 Is there anything I can write into my php page that will make it so the user only sees the www.domain.com rather than www.domain.com/foo.php ? thanks for any advice you guys have! -Robb Quote Link to comment https://forums.phpfreaks.com/topic/66237-hide-the-address/ Share on other sites More sharing options...
Psycho Posted August 22, 2007 Share Posted August 22, 2007 If you are talking about only 1 page, you just need to set foo.bar as the default page (same as index.htm would be). If you are talking about multiple pages and only having the domain display in the URL, you would need to utilize a single HTML frame. Quote Link to comment https://forums.phpfreaks.com/topic/66237-hide-the-address/#findComment-331307 Share on other sites More sharing options...
cooldude832 Posted August 22, 2007 Share Posted August 22, 2007 Your best idea is .htaccess to create psedo names for pages and rules. like www.domain.com/foo returns to www.domain.com/foo.php Quote Link to comment https://forums.phpfreaks.com/topic/66237-hide-the-address/#findComment-331311 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.