Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2011
    Posts
    6
    Plugin Contributions
    0

    Default 404 error after rename Admin

    Hello,

    I tried to rename the admin folder by following the instructions on this url: kb.siteground.com/article/Rename_Zen_Cart_Admin_Directory.html

    I got everything working, It asked me to log in to admin by using the new url. But the problem which i am having is when i access the website the homepage works fine but when i try to open the deep link it give error 404 - not found

    Anyone have any idea what I a doing wrong.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error after rename Admin

    That siteground article is incomplete, and therefore wrong.

    You'd be better off using the tutorials supplied by Zen Cart. I've no idea why you'd go to siteground for information that's supplied directly on the Zen Cart website AND linked-to directly from within the Zen Cart software which prompts you to do the admin folder rename.

    https://www.zen-cart.com/tutorials/index.php?article=33
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: 404 error after rename Admin

    I did use the same zen cart tutorials info too (https://www.zen-cart.com/tutorials/index.php?article=33), everything works fine, as says the part C , Login to your admin using the new URL. I was able to log in using my new ADMIN NAME in the url, but the only problem i faced was my website deep-links start giving error 404.

    Any idea, what I might be gone wrong!!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error after rename Admin

    Maybe it's your so-called "SEO URL" addon? Try using without the addon.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: 404 error after rename Admin

    Im having the same problem. i did exactly what was said in the user guide and its not working. what am I doing wrong?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error after rename Admin

    I'm not sure *which* "same" problem you're having. Did you follow the incorrect instructions just like the first poster did?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2011
    Location
    Brooklyn
    Posts
    75
    Plugin Contributions
    0

    Default Re: 404 error after rename Admin

    I'm having the same problem but maybe in a different way. We're moving our store from one domain to another. We didn't want to move our domain name until we can see that our store copied over OK by just using the IP address we were given. So I've been following the directions from here:
    http://www.zen-cart.com/content.php?...fferent-server
    and at the end of the installed I clicked "view admin" and I got the warning to delete the install and rename the admin. I did that, but am getting the 404 when I put the url directly in the address bar. Granted, the current webisite url is http://IPaddress/~username/mynewadminname/ (/~username/ because it is a shared account) The http://ipaddress/~username is of course what is in place until we redirect our domain name.

    I'm looking in configure files right now and notice that teh IP address is HTTP_SERVER and the /~username/ is DIR_WS_CATALOG, so I suppose when I entered the temporary url during the install, it interpreted the /~username/ as the catalog - which doesn't exist in the file structure.

    So, I'm wondering if its going to possible to test our store on http://ipaddress/~username . Must we have a domain name to see the Zencart install?

  8. #8
    Join Date
    Jan 2011
    Location
    Brooklyn
    Posts
    75
    Plugin Contributions
    0

    Default Re: 404 error after rename Admin

    Ok. so I changed some things in the config files and I can now at least see the zencart install with demo products at the url http://IPaddress/~username/. I moved the /~username/ up into the HTTP_SERVER to give it the complete http://IPaddress/~username/ path. The DIR_WS_CATALOG now just reads '/'.

    I've tried this with the admin sections but I'm still getting the 404 when I go to http://IPaddress/~username/mynewadminname/
    so right now I have

    define('HTTP_SERVER', 'http://IPaddress/~username/');
    define('HTTPS_SERVER', 'https://IPaddress/~username/');
    define('HTTP_CATALOG_SERVER', 'http://IPaddress/~username/);
    define('HTTPS_CATALOG_SERVER', 'https://IPaddress/~username/');

    define('DIR_WS_ADMIN', 'mynewadminname/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', 'mynewadminname/');

    I'll keep trying. But if anyone has any ideas....

  9. #9
    Join Date
    Jan 2011
    Location
    Brooklyn
    Posts
    75
    Plugin Contributions
    0

    Default Re: 404 error after rename Admin

    I never figured out the admin issue. But I went ahead and switch my domain DNS servers and change my configure files back to domain name path and now its all good. The move was successful with only some minor kinks to work out.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error after rename Admin

    It's not unusual to have login problems when using an IP address as your domain name instead of a proper domain name.
    And, since production servers will always run from a domain name, it's somewhat moot.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. 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
  2. 404 error after changing name od admin folder
    By wagnerguy in forum Basic Configuration
    Replies: 27
    Last Post: 24 Dec 2011, 06:10 AM
  3. Error 404 after changing my admin page
    By asiamarinehub in forum Customization from the Admin
    Replies: 12
    Last Post: 5 Oct 2010, 12:58 AM
  4. 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
  5. 404 error in admin after product import
    By Scott_C in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 2 Mar 2010, 10:18 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