Jump to:

22997 Posts in 11620 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Static Publisher with seo-friendly urls

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 668 Views
  • joelg
    Avatar
    Community Member
    129 Posts

    Static Publisher with seo-friendly urls Link to this post

    Hi

    I would like to use silverstripes static publisher methods to make my pages load faster. However, I don't want to have .html ending on my pages. I still would like to have my nice, seo friendly urls.

    How can I accomplish this? Can I just leave out the html in _config.php like this:

    //Object::add_extension("SiteTree", "FilesystemPublisher('cache/', 'html')");
    Object::add_extension("SiteTree", "FilesystemPublisher('cache/', '')");

    668 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.