I have a site ready
whenever I access the Magento admin panel it shows it like this
(Lankadirect.com.au/admin instead of this it shows it like this lankadirect.com.auadmin )
Please check admin_url with in core_config_data table first:
If admin url is set with table then verify with app/etc/env.php file
return [ 'backend' => [ 'frontName' => 'admin' ],
If backend value is set with this file then flush cache and try with url as below:
This is only configuration to set path of admin.
It may help you!
Problem solved? Please click on 'Kudos' & Accept as Solution!
Make sure you are not using Custom Admin URL, you can disable it here in admin :
Store > Configuration > Advanced > Admin > Admin Base URL
Set it to NO, and enable Custom Admin Path where value should be only "admin" (if you want admin name as "admin").
if still doesn't work, check if your base URL has "/" in end, you can get the Base URL from command line also :
php bin/magento config:show web/secure/base_url
php bin/magento config:set web/unsecure/base_url
Make sure both result should have an end "/".
Hope it helps !