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
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
Re: 404 error after changing name od admin folder
Quote:
Originally Posted by
DrByte
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
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.
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.
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.
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
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.
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?
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"