Drupal Multisite using subfolder

2019-08-11 22:59发布

i want to have another drupal-site in a subdirectory using multisites. Assuming I have the domain foo.example.com and the folder sites/foo.example.com. I want to new site to be at foo.example.com/bar. So according to the describtion in the settings php i'd simply have to setup a folder sites/foo.example.com.bar.

Well… I did. Yet it does still load the site of sites/foo.example.com/.

What am i doing wrong?

2条回答
手持菜刀,她持情操
2楼-- · 2019-08-11 23:17

I've installed Drupal 7 in a subdirectory using multisites configuration.

On my case beside the symbolic link I still need to correct the value on Public file system using admin account once the instalation is completed. Otherwise File System Setting is not work.

查看更多
走好不送
3楼-- · 2019-08-11 23:28

You might need to create a symbolic link inside the Drupal root pointing to itself. So in this example, assuming that your Drupal site is in /var/www/html, you would do the following at the command line:

cd /var/www/html
ln -s . bar
查看更多
登录 后发表回答