Let’s start how to set up the resource you want to use as your homepage from admin panel
- Step 1: First of all , Login into the admin panel of your Modx Revolution.
- Step 2: Go to the Top Menu >> System >> System Settings
- Step 3: Search with the keyword site_start and replace the ID of the Resource you want to use as homepage here
$Start_site = $modx- >getOption('site_start');
Make sure New ID of resource you replaced belongs to an existing Resource, and that it has been published!