XF 2.1 Broken rules and privacy policy URLs in the footer

Stuart Wright

Well-known member
Hi folks,
I'm customising the footer of the XF2 version of AVForums (going live tomorrow) and I have a problem with two links:
Code:
<xf:if is="$xf.tosUrl">
    <li><a href="{$xf.tosUrl}">{{ phrase('terms_and_rules') }}</a></li>
</xf:if>
<xf:if is="$xf.privacyPolicyUrl">
    <li><a href="{$xf.privacyPolicyUrl}">{{ phrase('privacy_policy') }}</a></li>
</xf:if>
The links are correctly set up:
1.webp

But these links are displayed in the browser as
and
and, of course, throw an error when clicked.

Any idea why the extra 'pages/about-us/' bit is being prepended to the URLs?
 
Top Bottom