Forum Moderators: phranque
If I login and go to other pages it will show the URL : [hostname...]
I want URL to be [hostname...] even when I switch Pages.
i.e I need to mask the URL to the people who are accessing. How Can I achieve this? Request your help.
Regards
Manjunatha
For security reasons and many other reasons, the URL shown to the browser user is the "real" URL.
In case it wasn't clear, any attempt to "hide" inner pages using any method available ( such as HTML <frame>s ), will result in very poor performance in search ranking and horrible site usability. I strongly suggest that you throw away this whole idea, and come up with some other approach that meets your needs. Among legitimate and viable Web sites, this is simply not done.
If you are having some issue with a script or service that creates excessively-long URLs, then that is not a serve problem, and should be discussed with the script or service provider.
If you can modify the script that outputs this long URL, then you can likely change it to output shorter and friendlier URLs. If so, then mod_rewrite can detect requests for those short/friendly URLs, and rewrite those requests back to the log/unfriendly format needed to invoke the script and produce the next page. But again note that the links on the pages must be changed first, by editing either the static HTML pages, or the script that dynamically produces those HTML pages.
Jim