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

Meta description in pages


Well-known member
Probably very simple, but how do you add "meta description" to your own pages?
I'm going to assume that you're talking about xF Pages.

Whatever you use in the description of your page... : "Admin Control Panel -> Applications -> Node Tree -> Select Page -> Description"
...will be displayed as the contents of your meta description, :coffee:


Active member
Hi, I tried the same but found that after adding a description, the meta name="description" does not appear.
Instead, in only shows meta property="og:description" which is for social media not for Google.
Any idea how can meta name="description" can be added to Xenforo Pages?

I was looking for it at PAGE_CONTAINER but don't really know what to edit.

This was commented (by default?):

<xen:comment><xen:if is="{$pageDescription.content} AND !{$pageDescription.skipmeta} AND !{$head.description}"><meta name="description" content="{xen:string wordTrim, {xen:helper stripHtml, {xen:raw $pageDescription.content}}, 200}" /></xen:if></xen:comment>
And this other description is not meta:
<xen:if is="{$pageDescription.content}"><p id="pageDescription" class="muted {$pageDescription.class}">{xen:raw $pageDescription.content}</p></xen:if>
I'm still on Xf1.5
Thanks for your help