Craft 2 new locale and dealing with root-relative links Hi I am adding new locale which is jp and I have a huge problem with href tag.
Our paragraph field have href links using relative link like this:
&lt;a href=&quot;/page_a&quot;&gt; page a&lt;/a&gt;

When I hover to the link. It show &quot;example.com/page_a&quot; instead of &quot;example.com/jp/page_a&quot;.
Our siteUrl was set up correctly which is shows example.com/jp.
Is anyone face this issue before and how to handle it.
Try using {{ url('/page_a') }}, this should generate the correct url.