jsi Posted January 13, 2010 Share Posted January 13, 2010 Can anyone point me in the direction on how to rename my admin folder so people dont know where its at? Rename from: www.mysite.com/admin/ to www.mysite.com/newadmin/ Thank you. mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts. Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2010 Share Posted January 13, 2010 Juan, You can use your FTP program to rename the admin folder. Be sure to update the configure.php file to reflect your changes. Chris Link to comment Share on other sites More sharing options...
aelalfy1989 Posted January 13, 2010 Share Posted January 13, 2010 Juan, You can use your FTP program to rename the admin folder. Be sure to update the configure.php file to reflect your changes. Chris Hey chris, I noticed this post and wanted to change my admin folder name as well. I had to change my permission for my configure.php to write so I can edit it. Then I tried to change it back to 444 but it wont let me, well it will say it did change it but it really didn't. I changed permissions using my Ftp using right click and get info. it allowed me to change it and edit my file before that change it wouldn't let me. Please let me know how to officially change it. Thanks AE Thank you in advance, AE Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2010 Share Posted January 13, 2010 Ahmed, I personally like to FTP the file to my local machine, edit it....rename the file on my host to something like configure1.php.......then upload the edited file back to the host. I then right click and change the permissions on the newly uploaded file. Once I am confident everything works, I go back and delete the configure1.php I make this a habit when editing ALL files. Chris Link to comment Share on other sites More sharing options...
aelalfy1989 Posted January 13, 2010 Share Posted January 13, 2010 Ahmed, I personally like to FTP the file to my local machine, edit it....rename the file on my host to something like configure1.php.......then upload the edited file back to the host. I then right click and change the permissions on the newly uploaded file. Once I am confident everything works, I go back and delete the configure1.php I make this a habit when editing ALL files. Chris Hi I tried to take my backed up configure.php file basically try to restore that file but still wont work. It just doesn't want to change the privileges back to 444. how come? is there any other way other than FTP? Thank you in advance, AE Link to comment Share on other sites More sharing options...
patrickluursema Posted January 13, 2010 Share Posted January 13, 2010 Hi I tried to take my backed up configure.php file basically try to restore that file but still wont work. It just doesn't want to change the privileges back to 444. how come? is there any other way other than FTP? aelalfy1989, You can also do this through a selfmade php file. Just open a texteditor and put in the following; <?php chmod("configure.php", 0444); ?> then save the file as chmod.php Next upload this file to the directory where the configure.php is located. Then execute the file in your browser (For example: www.mywebsite.com/catalog/includes/chmod.php) Now the permissions should be set to 444. Hope this helps, cheers. Patrick Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted January 13, 2010 Share Posted January 13, 2010 I changed permissions using my Ftp using right click and get info. it allowed me to change it and edit my file before that change it wouldn't let me. My ftp program is a *read only* when using the 'get info' button. It will not save any permissions. Mine has a 'right click -> chmod' function for changing permissions. Use your cPanel to change permissions, if you have one. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
aelalfy1989 Posted January 13, 2010 Share Posted January 13, 2010 My ftp program is a *read only* when using the 'get info' button. It will not save any permissions. Mine has a 'right click -> chmod' function for changing permissions. Use your cPanel to change permissions, if you have one. Hi, Thanks for the reply (to everyone), it turns out my Ftp program can only change permission one way i guess, because it wouldn't let me go back after i changed it to write. Anyways I was able to change permissions for my file using my Cpanel. thanks everyone Thank you in advance, AE Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted January 13, 2010 Share Posted January 13, 2010 it turns out my Ftp program can only change permission one way i guess, because it wouldn't let me go back after i changed it to write. Did you refresh in between changes? The ftp program keeps the directory info in memory and only refreshes it on a directory read. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
jsi Posted January 16, 2010 Author Share Posted January 16, 2010 As I also found out through doing this, I tried it all even refreshing. Many hosts block FTP programs from changing the permissions. Other FTP programs just dont allow it. I simply did it by editing directly via cPanel using my "File Manager". Worked on the first time. My only problem with renaming admin were a few contributions I had that were hardcoded to read from the "admin" folder. I simply edited all these files to read from new location and VOILA! The major contribution not allowing me that easy was GoogleCheckout. But easy to fix. Thanx Chris for the guidance. mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.