Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2007
    Posts
    41
    Plugin Contributions
    0

    Default Error 404 after changing my admin page

    I am using 1.3.9 version. Sorry if i post at wrong thread but sincere help want

    I have changed the admin url to adminx which i follow using this

    1. Edit the file admin/includes/configure.php. Make these two changes:
    1. Change
    define('DIR_WS_ADMIN', '/admin/'); to
    define('DIR_WS_ADMIN', '/adminx/');
    2. Change
    define('DIR_WS_HTTPS_ADMIN', '/admin/'); to
    define('DIR_WS_HTTPS_ADMIN', '/adminx/');
    3. Change
    define('DIR_FS_ADMIN', '/home/slothe/public_html/admin/'); to
    define
    ('DIR_FS_ADMIN', '/home/xxx/public_html/xxx/adminw/');

    I got a webpage not found. what else must I do?

  2. #2
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    You've got a typo - assuming that your Zen Cart is in root, please try:

    'DIR_FS_ADMIN', '/home/xxx/public_html/xxx/adminw/');
    should be
    'DIR_FS_ADMIN', '/home/xxx/public_html/adminx/');

    hope this fixes it for you - if not, please post back.

    For renaming admin, the only 2 steps you need are:
    1. renaming folder (eg via FTP)
    2. modifying configure.php in /yournewadminname/includes/configure.php to reflect the new name

    Nothing else needed :)

  3. #3
    Join Date
    Oct 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    Sorry, the typo is in this thread, not in the configure.php

    Here is the code again

    define('DIR_WS_ADMIN', '/bubblegum/adminw/');
    define('DIR_WS_CATALOG', '/bubblegum/');
    define('DIR_WS_HTTPS_ADMIN', '/bubblegum/adminw/');
    define('DIR_WS_HTTPS_CATALOG', '/bubblegum/');
    define('DIR_FS_ADMIN', 'C:/xampp/htdocs/bubblegum/adminw/');

    This folder is in the root

    I have also try
    define('DIR_FS_ADMIN', 'C:/xampp/htdocs/adminw/');

    and this not working too

    Please help

  4. #4
    Join Date
    Oct 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    To add on

    I try www.bubblegum/admin/login.php and it works.

    Where did i not configure? the file i change is at admin/includes/configure.php

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Error 404 after changing my admin page

    Quote Originally Posted by asiamarinehub View Post
    To add on

    I try www.bubblegum/admin/login.php and it works.

    Where did i not configure? the file i change is at admin/includes/configure.php
    Did you change the permission settings on the config file on the server, otherwise you cannot overwrite it with the new settings

    Download the one that is up there, and see if it is showing your new settings, if it isn't you need to change the permissions then upload your modified file then change the permissions back

  6. #6
    Join Date
    Oct 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    i did change the permission to write for all

  7. #7
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    Don't take me wrong but just to cover the basics - you did rename the actual folder on the server via FTP?

  8. #8
    Join Date
    Oct 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    Quote Originally Posted by terraGirl View Post
    Don't take me wrong but just to cover the basics - you did rename the actual folder on the server via FTP?
    I did no changes to the folder, only change the content in the file "configure.php"

  9. #9
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    You do need to change the actual folder name - with an FTP program of your choice go to "admin" and rename it. The configure file only references the folder name, it doesn't actually change it.

  10. #10
    Join Date
    Oct 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Error 404 after changing my admin page

    i do not quite get it. I change the content in the configure.php under admin->includes. Which file / folder name should i be changing too?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 404 error after rename Admin
    By nutrahealth in forum Basic Configuration
    Replies: 9
    Last Post: 21 Oct 2012, 06:49 PM
  2. Admin 404 Error After Install
    By firstcapitalfirearms in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 11 Oct 2012, 04:57 AM
  3. 404 error after changing name od admin folder
    By wagnerguy in forum Basic Configuration
    Replies: 27
    Last Post: 24 Dec 2011, 06:10 AM
  4. Replies: 1
    Last Post: 21 Sep 2011, 07:32 PM
  5. admin page 404 error after renaming it (v1.3.9b)
    By swirlback in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 12 May 2010, 11:00 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR