Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default Admin Folder Rename Not Working for me

    The instructions for renaming a Zen Cart's admin folder, as shown below, don't work for my setup, even after clearing the cache of my browser.

    Has anyone else encountered this problem?

    2. Rename your /admin folder

    It is recommended for additional security that you rename your admin directory after installation. This way, it will be significantly harder for hackers to find your admin area or attempt any attack on breaking into it.

    (Before making the following changes, make sure to have a current backup of your files and your database.)

    A - Open your admin/includes/configure.php, using a simple text editor like notepad. Change all instances of admin to your chosen new admin folder-name. For maximum security, you may want to consider that new folder name should include numbers and a combination of upper and lower case letters. The longer you make this folder's name the more secure it will be. Make sure you leave all the / intact.

    Change this section:
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    And this section:
    define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

    B - Find your Zen Cart™ /admin/ directory, using your FTP software or your webhost File Manager. Rename the directory to match the settings you just made in step A.

    C - To login to your admin system you will now have to visit a new URL that matches the new name used in steps A and B above. For example instead of visiting http://www.example.com/admin/ visit http://www.example.com/NeW_NamE4u/. Use of SSL is highly recommended to protect you and your customers' information. To protect the new admin folder name from packet sniffers, use https in the example link above (this of course depends on your server having an SSL certificate installed).

    D - You should also protect your admin area by using an .htaccess file similar to the one shown below, and placing it into /admin/includes. This should already exist in Zen Cart™ versions 1.2.7 and greater.


  2. #2
    Join Date
    Aug 2005
    Posts
    26,051
    Plugin Contributions
    9

    Default Re: Admin Folder Rename Not Working With 1.3.8

    The instructions for renaming a Zen Cart's admin folder, as shown below, don't work for my setup
    You are not completing this correctly then...

    It only responds to what it is instructed to
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Folder Rename Not Working With 1.3.8

    Quote Originally Posted by kobra View Post
    You are not completing this correctly then...

    It only responds to what it is instructed to
    Yup, sorry. - Missed out the folder rename .

 

 

Similar Threads

  1. Rename Admin folder
    By axip in forum Basic Configuration
    Replies: 39
    Last Post: 20 Nov 2010, 09:56 PM
  2. Links in Admin area don't work after admin folder rename
    By bhfruitcakeco in forum General Questions
    Replies: 8
    Last Post: 27 Dec 2007, 06:55 PM
  3. If i rename the languages folder do i...
    By humbll in forum General Questions
    Replies: 5
    Last Post: 16 Jun 2007, 09:52 PM
  4. Rename Admin folder instructions does not work - did something wrong
    By ronwong in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 4 Dec 2006, 11:49 AM
  5. Trying to rename my admin folder but cant
    By fanmap81 in forum General Questions
    Replies: 10
    Last Post: 8 Nov 2006, 04:28 AM

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
  •