Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Aug 2008
    Posts
    326
    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 http://tutorials.zen-cart.com/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
    59,767
    Blog Entries
    4
    Plugin Contributions
    133

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    326
    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
    59,767
    Blog Entries
    4
    Plugin Contributions
    133

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    326
    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
    59,767
    Blog Entries
    4
    Plugin Contributions
    133

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    326
    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,650
    Plugin Contributions
    1

    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.
    Bumble Bee Template - my first contribution!

    The best way to learn is to try stuff. But, back it up first.

  9. #9
    Join Date
    Aug 2008
    Posts
    326
    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
    392
    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. Changing name of admin folder
    By Mad Mick in forum General Questions
    Replies: 2
    Last Post: 7 Sep 2009, 08:11 AM
  2. 403 error after changing name of admin folder
    By YZ250 in forum General Questions
    Replies: 8
    Last Post: 7 Jul 2009, 07:40 AM
  3. database error after changing admin folder
    By bryden in forum General Questions
    Replies: 10
    Last Post: 30 Jun 2009, 07:05 AM
  4. Changing 'admin' folder name for security/https admin
    By droptest in forum General Questions
    Replies: 0
    Last Post: 20 Jun 2007, 09:59 PM
  5. Changing /admin Folder Name
    By Phid in forum General Questions
    Replies: 3
    Last Post: 18 Aug 2006, 09:55 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
  •