Thread: renaming admin

Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default renaming admin

    I have the latest zen-cart version. I went to the admin to start working on it and I got the warning of having to rename the folder to prevent anauthorized access.

    I went to admin/includes/configure.php
    and I got the directions (in the tutorial) to edit:

    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    However my admin/includes/configure.php look like this:


    define('DIR_WS_ADMIN', '/mystorename/admin/');
    define('DIR_WS_CATALOG', '/mystorename/');
    define('DIR_WS_HTTPS_ADMIN', '/mystorename/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/mystorename/');


    As you may noticed I have the name of my store nameadded into the sequence


    The same happened with this part...Instead of looking like this:

    define 'DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');

    Looks very different... I know that part of the difference here is because I am in a local host....
    define('DIR_FS_ADMIN', 'C:/xampp/htdocs/mystorename/admin/');

    My question is:
    should I change the "admin" for another name only?
    or do I have to rename the admi and "mystorename" too?


    I would appreciate written programming to clearly look how this should look like. My configure.php is in blue and that is the one that needs to be modified.
    Thanks
    Marlake

  2. #2
    Join Date
    Jan 2010
    Location
    Australia
    Posts
    244
    Plugin Contributions
    1

    Default Re: renaming admin

    just change the word admin to YOUR NEW ADMIN FOLDER NAME.

  3. #3
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default Re: renaming admin

    Thank you!

 

 

Similar Threads

  1. Renaming Admin
    By weirdsnacks in forum General Questions
    Replies: 22
    Last Post: 7 May 2011, 05:45 PM
  2. Renaming Admin
    By janisrae in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Apr 2010, 07:08 PM
  3. Can't access my admin after renaming
    By Corinne in forum Upgrading from 1.3.x to 1.3.9
    Replies: 39
    Last Post: 13 Sep 2009, 04:01 PM
  4. Unabe to log into Admin after renaming admin folder
    By hectorcalcano in forum General Questions
    Replies: 43
    Last Post: 21 Jul 2009, 03:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •