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
    Location
    Arizona
    Posts
    27,755
    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

  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. v150 Rename Admin Folder not working for me
    By kbear in forum Basic Configuration
    Replies: 8
    Last Post: 26 Apr 2012, 11:30 PM
  2. Log in after rename Rename "admin" folder does not work
    By flashmxfreak in forum General Questions
    Replies: 3
    Last Post: 3 Sep 2011, 12:38 PM
  3. developers tool kit not working after admin rename?
    By MB1 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 15 Nov 2009, 05:15 PM
  4. logoff.php was not found on this server (after rename admin folder)
    By dan_710 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Jan 2009, 04:50 PM
  5. 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

Posting Permissions

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