PDA

View Full Version : How To Change The X-Cart Admin Folder


Ibrahim
2015-03-31, 12:24 AM
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."

Open your top.inc.php file
Find:

define ('DIR_ADMIN', '/admin');


Replace with:

define ('DIR_ADMIN', '/newadmin');


You will now access your X-Cart admin section using the url: http://www.example.com/newadmin/