网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   X-Cart (https://www.0058.net/forumdisplay.php?f=70)
-   -   How To Change The X-Cart Admin Folder (https://www.0058.net/showthread.php?t=5049)

Ibrahim 2015-03-31 12:24 AM

How To Change The X-Cart Admin Folder
 
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:
Code:

define ('DIR_ADMIN', '/admin');
Replace with:
Code:

define ('DIR_ADMIN', '/newadmin');
You will now access your X-Cart admin section using the url: http://www.example.com/newadmin/


All times are GMT +8. The time now is 03:40 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.