Url rewrite

in reality I need only for customer area ( I have copied backend area only for example ) . My purpose is to show for customer area only the root path of the url and not the full url . My need is to do it in a easy and safety way ( don't break other area or link such as tracking url ) .