• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Meta tag robots on forum home

Jeremy

Well-known member
#4
How can I show content on a specific page?
<xen:if is="{$contentTemplate} == 'xyz'">
This content will show on the xyz template
</xen:if>
forum_list is the content template for the standard homepage. If yours is different, you will need to determine the content template.
 

DRaver

Active member
#5
ah, thank you.

So I will test with this code:

Code:
<xen:if is="{$contentTemplate} == 'forum_list'">
meta name="robots" content="index,follow,noodp,noydir" /
</xen:if>