Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Removing meta tag 'generator' - possible?


Go to End


2 Posts   4467 Views

Avatar
Ryan M.

Community Member, 309 Posts

4 February 2011 at 2:02pm

What the subject says. I'm wondering if it's possible to suppress the addition of that meta tag.

<meta name="generator" content="SilverStripe - http://silverstripe.org" />

Avatar
Willr

Forum Moderator, 5523 Posts

4 February 2011 at 2:41pm

Copy the function from SiteTree.php MetaTags to your Page.php. Edit function as you require.