clarkwinkelmann
Hi Clark, I am so happy to receive your reply, your explanation is very clear, and I finally solved this problem, and now I can visit my site from https://domain.com/
The solution is quite simple:
I only edited site.php
file
original script:
return Flarum\Foundation\Site::fromPaths([
'base' => __DIR__,
'public' => __DIR__,
'storage' => __DIR__.'/storage',
]);
modified script:
return Flarum\Foundation\Site::fromPaths([
'base' => '/home/customer/www/domain.com/flarum',
'public' => '/home/customer/www/domain.com/public_html',
'storage' => '/home/customer/www/domain.com/flarum/storage',
]);
but still there is a little problem, when I visit https://domain.com
, it will soon redirect to https://domain.com//
, yes, with two // at the end, do you know what might cause this?
Clark, I appreciate a lot for your help!
I think I might open a new thread and write a step-by-step tutorial to tell everybody about solving this problem, it is very simple.