Smack Digital Inc.

How To Change The X-Cart Admin Folder

Posted by and last updated Apr 10, 2014 03:07 PM

X-Cart tutorial describing how to change path to the X-Cart admin folder for increased xcart security.

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

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/

About the Author

Jonathan Peters Jonathan's founder of Smack Digital, a digital strategy agency that creates and executes online business success for executives who are highly motivated to quickly increase their market share. With more than two decades of experience on the web for clients ranging from non-profits to billion dollar enterprises, Jonathan's an expert in web development, eCommerce, software programming, search engine optimization and social media marketing.

Browse By Category

RSS Feeds

Don't miss out! Subscribe to our RSS Feeds to receive instant notification when new entries are added.

RSS Feed for All Categories
RSS Feed for X-Cart How-Tos
We choose our clients selectively.
Let's talk success. Apply to work with us.
Apply toWork With Us
Apply toWork With Us