Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Custom Meta Tags on the home page

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 1965 Views
  • webmmsd
    Avatar
    Community Member
    10 Posts

    Custom Meta Tags on the home page Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Custom Meta Tags on the home page Link to this post

    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.

    1965 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.