Can anyone tell me how to write an .htaccess mod-rewrite so the url displays ONLY the domain name at all times? No matter which page the user is in, I just want to show the domain name.

Thanks in advance.


It's impossible with mod_rewite. But you can use Ajax or frames to it work out as you want.

Written by antyrat

Accepted Answer

That is not possible. How should all the various resources be identified if not by the URI?

The only thing you can do is to load your pages in a frame.

Written by Gumbo
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the community.
It is licensed under cc-wiki