Yii 2 on shared hosting
Yii 2 has a good documentation and it helps you to do almost anything you need for your application. I have had some trouble on deployment. I have a couple of websites on a shared hosting and I wanted to follow the tutorials but there was something wrong at the end. Let's see the links:
Backend Assets not loaded!
The solution if to let your backend create the assets on its web/assets directory.
To do so, you have to specify this behaviour in your backend/config/main.php:
'components' => [
'assetManager' => [
'linkAssets' => true,
Now you can empty your assets directory deleting all files. When you will reload your page, the layout must be ok because Yii 2 must create its files instead of creating some broken symlinks,
I hope this will be useful. Happy coding!