behzad Posted August 27, 2007 Share Posted August 27, 2007 Hi Is there a way of just showing the domain name in the address bar for all pages? www.mydomain.com/index.php?abcvar=123 Show as www.mydomain.com With out using frames. Link to comment https://forums.phpfreaks.com/topic/66883-solved-short-domain/ Share on other sites More sharing options...
wildteen88 Posted August 27, 2007 Share Posted August 27, 2007 No. Not unless you convert all $_GET variables eg ?abcvar=123 into session variables. Link to comment https://forums.phpfreaks.com/topic/66883-solved-short-domain/#findComment-335267 Share on other sites More sharing options...
nathanmaxsonadil Posted August 27, 2007 Share Posted August 27, 2007 or you could change to $_POST Link to comment https://forums.phpfreaks.com/topic/66883-solved-short-domain/#findComment-335272 Share on other sites More sharing options...
sstangle73 Posted August 27, 2007 Share Posted August 27, 2007 you could make it shorter with mod rewrite Link to comment https://forums.phpfreaks.com/topic/66883-solved-short-domain/#findComment-335274 Share on other sites More sharing options...
tibberous Posted August 27, 2007 Share Posted August 27, 2007 Also there is a point to having all that junk after the url, it makes it so you can bookmark it and share the link. No one cares what the domain name looks, look at eBay: http://antiques.listings.ebay.com/Ethnographic_W0QQfromZR4QQsacatZ2207QQsocmdZListingItemListQQssPageNameZdcpAntiquesTextNonFeat Link to comment https://forums.phpfreaks.com/topic/66883-solved-short-domain/#findComment-335320 Share on other sites More sharing options...
Jessica Posted August 28, 2007 Share Posted August 28, 2007 I care what URLS look like, and so do search engines. You can use mod rewrite for fancy URLs so that domain.com/users.php?user=1 can become domain.com/users/1/ or even domain.com/users/jesirose/ OR domain.com/jesirose/ jesirose.domain.com/ Link to comment https://forums.phpfreaks.com/topic/66883-solved-short-domain/#findComment-335920 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.