Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default 404 error after changing name od admin folder

    Hello all, I just installed a new cart. I have to change the name of my admin folder per https://www.zen-cart.com/tutorials/index.php?article=33. but when i change the name in the 3 places that are mentioned and the folder name I get a 404 error. this is a second site in a larger public server. the entire cart is loaded in a folder. my permissions are at 777.

    can anybody think of anything i may be missing?

    thanks in advance

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

    Default Re: 404 error after changing name od admin folder

    404 = "not found", which indicates that you've not entered a valid foldername in your URL
    .

    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
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: 404 error after changing name od admin folder

    Quote Originally Posted by DrByte View Post
    404 = "not found", which indicates that you've not entered a valid foldername in your URL
    I checked that also. It recognizes the folder until i change the name. I copy and pasted just to make sure there were no spaces or anything

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

    Default Re: 404 error after changing name od admin folder

    Of course it recognizes it until you change the name. Then when you change the name you need to change the URL you're going to.
    .

    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 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: 404 error after changing name od admin folder

    I have change the url, when I type in the exact url renamed. thats what I am getting. I am actually copying it from my ftp just to make sure.

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

    Default Re: 404 error after changing name od admin folder

    Okay ... I look at it this way: The server will only say "not found" if indeed it's not found.

    Sounds like you need to talk to your hosting company for specific help.
    .

    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
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: 404 error after changing name od admin folder

    i contacted my host, they said it appears to be redirecting due to my htaccess file loaded in my main directory .. Has anyone ever heard of this? here is my file.



    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^prokarateshop.com$
    RewriteRule ^/?$ "http\:\/\/www\.prokarateshop\.com" [R=301,L]

    # For security reasons, Option followsymlinks cannot be overridden.
    #Options +FollowSymLinks
    Options +SymLinksIfOwnerMatch
    RewriteBase /
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    RewriteCond %{SCRIPT_FILENAME} -f [OR]
    RewriteCond %{SCRIPT_FILENAME} -d
    RewriteRule .* - [L]

    RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU


    Apparently, my files and renames are fine.. any additional help is appreciated

  8. #8
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: 404 error after changing name od admin folder

    Remove everything after this:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^prokarateshop.com$
    RewriteRule ^/?$ "http\:\/\/www\.prokarateshop\.com" [R=301,L]

    And see if your admin works. Note: Save a backup of the file first.

  9. #9
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: 404 error after changing name od admin folder

    I am afraid it did the same thing. it just did not redirect back to my home site.

    Is there anyway I can use admin without renaming it in the new zc version?

  10. #10
    Join Date
    Oct 2011
    Location
    AZ
    Posts
    384
    Plugin Contributions
    0

    Default Re: 404 error after changing name od admin folder

    It may be something simple that because you've been looking at it for so long you can't see it. Maybe fresh eyes can help. Do you have anyone who can look at where you installed it and compare that to what you typed in the config?

    You said the entire store is "in a folder". Is it in the root folder or in a subfolder?
    And when you say "this is a second site" What do you mean - two versions of zen cart running on the same server"

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v150 404 error after renaming admin folder fresh install
    By Daviator in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 30 Mar 2012, 04:09 PM
  2. Backup ZC Broken after changing admin folder name
    By SethF in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 13 Nov 2011, 04:42 PM
  3. Problems after changing name of admin folder
    By pbhewitt in forum General Questions
    Replies: 4
    Last Post: 2 Oct 2010, 01:01 PM
  4. 403 error after changing name of admin folder
    By YZ250 in forum General Questions
    Replies: 8
    Last Post: 7 Jul 2009, 07:40 AM
  5. Problems after changing admin folder name
    By barbaraj1111 in forum General Questions
    Replies: 2
    Last Post: 26 Aug 2008, 08:41 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