When running site on localhost and using field rewrite I construct a link like this for example
<a href="/[uid]/addresses/shipping/default/[profile_id_1]">Set as default</a>
I get a path that is not proper. Something like this
and it is missing a site part in url and should be like
I have set a $base_url in settings.php but doesnt help. When I put site online this works fine, but what should I do for localhost?