[Typo3] How to change metatags on page level

Wido Widlewski typo3 at websimplex.de
Tue Aug 2 09:48:32 CEST 2005


Hi Peter,

PK> I have configured some metags in the constant section of my template
PK> using the metatags extension. That works fine.

PK> In some cases, however, I want to override the default metatag value
PK> on the individual page level, such as for the robots tag (noindex).

PK> I'v inserted
PK> plugin.meta.robots = noindex, follow
PK> in the TSConfig field of a page, but that doesn't work.

PK> Could anybody kindly explain to me how to change metatags on the page
PK> level? Thanks!

PK> Peter

you don't need the metatags extension at all, i think.

In your Root-TypoScript template (setup-field) you can write:

page.meta.robots = index, follow

and on your "special" page, make an +ext TypoScript template an write:

page.meta.robots = noindex, follow in the setup-field.

This works for me ...

Good luck,

Wido




More information about the TYPO3-english mailing list