Change X-Cart Admin
The x-cart admin folder is commonly known to be /admin making it a target for malicious users. Changing the folder name/location provides an added level of security. The x-cart admin folder can be changed as follows:
- Log into your x-cart host using an FTP program. Access the path to your x-cart files and rename the folder "admin" to the name of your choice. We will call this "newadmin."
- Now open your top.inc.php file
Find:
define ('DIR_ADMIN', '/admin');
Change to (substitute "newadmin" for the name of your renamed folder):
define ('DIR_ADMIN', '/newadmin');
You will now access your x-cart admin section using the url:
http://www.example.com/newadmin/
Also be sure to view our X-Cart Security Tutorial.
Article copyright 2007 WebsiteCM.com and may be republished provided all content is left intact including author information, copyright notice and website links.