Modify folder after install X-Cart and change admin folder

Change file permissions

Before you start using X-Cart, need to restore secure permissions as advised below:

    •    chmod 755 var
    •    chmod 644 config.php


Change 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."
    •    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/

No comments:

Post a Comment