View Full Version : I renamed the /admin directory as instructed. Now I have broken links...
Hi!
I've renamed the admin directory, as instructed. But now, when trying to admin my store, there are still links being generated that point to /admin
Where do I have to change the directory name as well? I've done the configure.php in the admin/includes, but that doesn't seem to be enough...
Greetz,
Evert
There's also a configure.php in catalog/includes
I don't recall seeing a suggestion to rename the admin folder. I do see one saying to protect it with a password.
The INSTALL file says the following:
This creates a directory called 'oscommerce-2.2ms2'. Enter this directory
and copy the 'catalog' directory to the webroot path of your webserver:
cd oscommerce-2.2ms2
cp -R catalog /usr/local/apache/htdocs/
For this example, '/usr/local/apache/htdocs/' is used as the webroot path
of the Apache webserver.
Do the same for the 'admin' directory but rename the directory to a
unique and secret name. This directory does not have to reside inside the
catalog directory, though may need to be manually configured.
np! ;)
Well, currently I am using .htpasswd / .htaccess method as well.
But I still think there should be some explanation on how to successfully relocate the admin directory, without breaking stuff...
cmschool
7-29-03, 02:29 PM
are you sure that this doesn't mean change the directory to something like /htdocs/admin instead of the default directory?
Well, whether I rename it or move it, the connections break... :o
Well, looking at the sources, it seems that the only place you should need to change is the admin/includes/configure.php Perhaps you should try clearing your browser cache? I've moved my admin folder a couple of times and it has worked fine.
And all you changed was DIR_FS_ADMIN?
Because I've tried that, but it still doesn't work. Even after clearing the browser cache...
Weird... :confused:
My version also has a DIR_WS_ADMIN which I had to change as well. I have the 20030518 package installed.
:o :o :o :o :o
I completely missed that one!
I've changed both now, and it works!
Thank you, kind sire! ;)
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.