myharshdesigner Posted May 19, 2007 Share Posted May 19, 2007 i want to hide my link address like this suppose my link address is:- www.techinfocomp.com/yah/fol/item.php i just want this :- www.techinfocomp.com/ like this :- http://www.ilaaka.com/page/1724?tid=5&name=Pune Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/ Share on other sites More sharing options...
suttercain Posted May 19, 2007 Share Posted May 19, 2007 Are you talking about making the link look shorter or the actual URL in the browser address bar shorter? Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256840 Share on other sites More sharing options...
myharshdesigner Posted May 19, 2007 Author Share Posted May 19, 2007 Are you talking about making the link look shorter or the actual URL in the browser address bar shorter? is there any difference in link look shorter and the actual URL in the browser address bar shorter ? Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256859 Share on other sites More sharing options...
myharshdesigner Posted May 19, 2007 Author Share Posted May 19, 2007 i just want that the link will sho in my address bar will become shorter Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256860 Share on other sites More sharing options...
MadTechie Posted May 19, 2007 Share Posted May 19, 2007 your need to setup an index.php file with a Switch for the re-routing ie <?php switch($_GET['page']) { case "info": include "/yah/fol/info.php"; break; case "profile": include "/yah/fol/profile.php"; break; } ?> then use ?page=info or ?page=profile etc you get the idea Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256864 Share on other sites More sharing options...
Nameless12 Posted May 19, 2007 Share Posted May 19, 2007 Mod_Rewrite would also work. Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256868 Share on other sites More sharing options...
Orio Posted May 19, 2007 Share Posted May 19, 2007 I think what you should look at is using an invisible frame so the address will stay the same all the time in the browser. Has nothing to do with PHP in this case. Orio. Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256870 Share on other sites More sharing options...
MadTechie Posted May 19, 2007 Share Posted May 19, 2007 true even a frame set would work i have a site which has a menu and main frame set.. the URL never changes! Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256872 Share on other sites More sharing options...
Sulman Posted May 19, 2007 Share Posted May 19, 2007 A site where the url never changes? I don't know about you but that would annoy the hell out of me. I like to be able to see what page I am on etc. Plus frames and Search engines don't mix... Quote Link to comment https://forums.phpfreaks.com/topic/52097-how-to-hide/#findComment-256882 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.