Hello guys,
I have my flarum installation on my subdomain (forum.site.com) and I want to remove the /public from (forum.site.com/public) so that it would appear normally. I followed these steps posted by @Umutcan ;
Move whatever is in public to the home directory.
index.php open file and change as below
$site = require './site.php';
Open the site.php file and change it as follows
'base' => DIR,
'public' => DIR,
'storage' => DIR.'/storage',
I changed the url in config.php as well.
Now when I go to my site it still redirects me to /public but with the message 403 server denied. Maybe there are another steps to follow for subdomains. What should I do? Thanks!