Default Admin Url

How can I change the default login url as follows;

https://mystore.com/folder1/admin.php

I tried doing the changes in config.local.php in the admin path but it did not work.

Any guidance in that regard will be highly appreciated.

Hello

You have to move all files to "folder1" then in config.local.php change
$config ['http_path'] = '/folder1';
Best regards
Robert

hi Robert,

thanks for your kind response.

Actually our requirement is just for the accessing the admin.php not the entire website urls.

Hello

There's no other way. You can delete the index.php file from folder1 and leave admin.php and then you will only have access to the admin, but the source files will be in two places. What do you want to do this for?

Best regards

Robert

For security purpose only, not to have the default url...

You can just rename the admin.php and revise the confit.local file. Instructions here: https://docs.cs-cart.com/latest/install/security.html