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
http://localhost/1/addresses/shipping/default/284
and it is missing a site part in url and should be like
http://localhost/MY-SITE/1/addresses/shipping/default/284
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?