Magento admin css and js not loading after trying to change path of the admin url

Magento admin css and js not loading after trying to change path of the admin url. These type of problem comes when we trying to use custom url for admin or trying to change backend url from CLI. Here are some steps to resolve this issue. Login it to phpmyadmin or any other tool that let you access for database and select database that you use for your magento. 1) Find and remove all entries with path like ‘admin/url/custom’ in core_config_data table. SELECT * FROM `core_config_data` where 'admin/url/custom'; If any entries exist run below mentioned query. DELETE FROM `core_config_data` where 'admin/url/custom'; 2) After that find value with with below mentioned query. SELECT * FROM `core_config_data` where scope='stores' and scope_id=0 and path ='web/secure/base_url'; If any entries exist run below mentioned query. DELETE FROM `core_config_data` where scope='stores' and scope_id=0 and path ='web/secure/base_url'; And SELECT * FROM `core_config_data` where scope='stores' and scope_id=0 and path ='web/unsecure/base_url'; If any entries exist run below mentioned query. DELETE FROM `core_config_data` where scope='stores' and scope_id=0 and path ='web/unsecure/base_url'; 3) Now set value 0 for path admin/url/use_custom SELECT * FROM `core_config_data` where path='admin/url/use_custom'; If any entries exist and value is not 0 then run below mentioned query. UPDATE `core_config_data` set value=0 where path='admin/url/use_custom'; 4) Check Magento_Root/etc/env.php and look for below mentioned line here ‘admin’ is your admin url so ‘www.example.com/admin’ is your admin url now you can change this value to and use updated with with new admin path. 'backend' => [ 'frontName' => 'admin' ], 5) clean cache from CLI by running below mentioned command. And hurrah! you are all...