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.

Content Editor Discussions

Forum for content editors and CMS users.

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

Custom Meta Tags on the home page


Reply

2 Posts   1992 Views

Avatar
webmmsd

11 June 2010 at 6:27am (Last edited: 11 June 2010 6:29am), Community Member, 10 Posts

Hello,

I've added this to the Custom Meta Tags under Metadata on the "Home page" of the site
<meta name="robots" content="index,follow" />
<meta name="revisit-after" content="31 Days" />

And changes this in the head section of Page.ss:
<title>$Title &raquo; Maritime Museum of San Diego</title> - original
   $MetaTags(false)
to

$MetaTags

I see the other way to help search is with a robots.txt file - http://www.google.com/robots.txt

Except I have no idea which folders are the ones that should be under "Allow: or Disallow:"

My main goal is to help the SEO of this site, which has been horrible to this point. Will the custom meta tags I added help, or is there a robots.txt for silverstripe that I should use instead?

Thank you,
Alex

Avatar
Willr

12 June 2010 at 10:26pm (Last edited: 12 June 2010 10:26pm), Forum Moderator, 5511 Posts

Well you could disable things like

/admin/
/dev/

You could also put your /assets/ folder if you didn't want that to be indexed. I don't think you will need to list every module as the only urls generated from the modules which are allowed would be images, javascript or css files.