abilham
(Andrewbilham)
1
Good Morning,
i have just uploaded an update to my site (www.mtexservices.co.uk) but i now get the hosting landing page instead of the site.
Can anyone give me any tips of where to look as i cant see that i have changed anything to effect this??
Thank you
kubove
2
Hi, you can use defaultRoute
attribute, check the guide for more info here
Open your config/web.php
(or main.php if you are using Yii2 Advanced template) and add this line to the returned array:
'defaultRoute' => 'yourcontroller'