1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » How to create subfolder? ie http://domain.com/blog/name-of-the-article ?
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 857 Views |
-
How to create subfolder? ie http://domain.com/blog/name-of-the-article ?

12 February 2011 at 2:04am
Hi,
It seems that all pages in SS are child of the root domain. ie:
http://domain.com/name-of-the-pageI want to be able to move all my blog articles into a subfolder. ie
http://domain.com/blog/name-of-the-page etcIs there any way of doing this?
thanks
Wayne -
Re: How to create subfolder? ie http://domain.com/blog/name-of-the-article ?

12 February 2011 at 10:06am
Hey Wayne
To enable nested urls try adding this to your /mysite/_config.php im not sure which versions of SS support nested URLs but i believe its relatively new to SS
SiteTree::enable_nested_urls();
-
Re: How to create subfolder? ie http://domain.com/blog/name-of-the-article ?

12 February 2011 at 2:30pm
im not sure which versions of SS support nested URLs but i believe its relatively new to SS
It has been around since 2.4.0.
-
Re: How to create subfolder? ie http://domain.com/blog/name-of-the-article ?

17 February 2011 at 3:37am
From 2.4.x
| 857 Views | ||
|
Page:
1
|
Go to Top |



