一般情况下,所有静态文件都是默认在网站根目录下的html文件夹下。
但有时可能需要如下效果:一些栏目或频道与主站及其它栏目样式均不相同。且在网站后紧跟特定的目录名。
如:
www.site.com/news
www.site.com/sports
而不是
www.site.com/html/news
www.site.com/html/sports
此时,可以设置栏目的静态目录名为news或sports。
修改配置文件i18n_config_zh_CN.properties中的下行
group.file.static.root=html
将html改为root或webroot即可。