Adding noindex to the error page

For now I have settled on the decision to prohibit indexing of pages with errors
Code:
<xf:if is="$template == 'error'">
    <meta name="robots" content="noindex" />
</xf:if>
 
Back
Top Bottom