21281 Posts in 5729 Topics by 2600 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 575 Views |
-
Static Publisher with seo-friendly urls

19 March 2011 at 12:11pm
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/', '')");
| 575 Views | ||
|
Page:
1
|
Go to Top |

