XF 1.3 Can I stop Google indexing an off-topic forum without closing it for guests?

CTXMedia

Well-known member
I'd like to exclude all threads and posts from my off-topic forum from Google's index, but at the same time keep the threads viewable for guests - is this possible?

Thanks,
Shaun :D
 
Basically add this to a few templates:

Code:
<xen:if is="{$forum.node_id} == 2">
    <xen:container var="$head.noindex">
        <meta name="robots" content="noindex" /></xen:container>
</xen:if>

Where 2 is the forum that should be noindex.

Specifically, thread_view and forum_view but there may be others.
 
Top Bottom