elza
From the docs :
URL Rewriting
Apache
Flarum includes a.htaccess file in the publicdirectory – make sure it has been uploaded correctly. If you're using shared hosting, confirm with your provider that mod_rewrite is enabled and.htaccess files are allowed. If you're managing your own server, you may need to add the following to your site configuration:
<Directory "/path/to/flarum/public">
AllowOverride All
</Directory>
If its not working try to install Flarum locally and after that you can transfer the files and the database to your host manually
the config.php file will needs some change like :
<?php return array (
'debug' => true,
'database' =>
array (
'driver' => 'mysql',
'host' => 'localhost',
'database' => '',
'username' => '',
'password' => NULL,
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => NULL,
'port' => '3306',
'strict' => false,
),
'url' => 'https://story.loveorfear.co/',
'paths' =>
array (
'api' => 'api',
'admin' => '',
),
);