set browser URL path from server side when rendering layout