Renaming Admin Directory?
Started by xCMxChaos, Nov 28 2007 12:38 AM
4 replies to this topic
#1
Posted 28 November 2007 - 12:38 AM
how do i rename my admin directory i renamed the folder and everything and it still goes to forum/admin/index.php and i had it renamed before and then i ran into a 500 internal server error then chomodded the forums folder to 755 and then it reset my admin directory please help.
#2
Posted 28 November 2007 - 12:53 AM
There's much more to it than this. Read the "Renaming the ACP directory" tut in the Admin tab of your ACP.
- - - - nsMod Community Forums - - - -
Services System Modification Installation FAQ Invision Modding Store
I DO: IPB UPGRADES, MOD INSTALLS, DATABASE BACKUPS & RESTORATION, CUSTOM SKINS, SITE TRANSFERS
IMPORTANT - READ THIS BEFORE YOU PM ME!!!
Do not ask me for assistance / provide me with your url if you own a nullified board - IM Staff will be notified.
#3
Posted 28 November 2007 - 12:58 AM
IPB ACP said:
Step 1:
First, you'll need to physically rename the directory. Connect to your server via FTP and then browse to your IPB directory (this is the one that has your index.php file in it).
Locate the 'admin' directory. It has just one file inside called 'index.php'. Choose 'rename' from your FTP client menu and rename it. For the purposes of this tutorial, we'll rename it 'admin_secret'. If you have created .htaccess protection inside the existing directory, you MUST delete it or you will not be able to login to the ACP afterwards. You may recreate the .htaccess protection after you have completed the next step.
Step 2: Locate the 'init.php' file. This is in your IPB root directory. Download it and open it in a text editor.
Near the top of this file, you'll see:
//-----------------------------------------------
// USER CONFIGURABLE ELEMENTS
//-----------------------------------------------
/**
* ROOT PATH
*
* If __FILE__ is not supported, try ./ and
* turn off "USE_SHUTDOWN" or manually add in
* the full path
* @since 2.0.0.2005-01-01
*/
define( 'ROOT_PATH', dirname( __FILE__ ) ."/" );
/**
* Directory name for the admin folder
* @since 2.2.0.2006-06-30
*/
define( 'IPB_ACP_DIRECTORY', 'admin' );
Change the line:
define( 'IPB_ACP_DIRECTORY', 'admin' );
to
define( 'IPB_ACP_DIRECTORY', 'admin_secret' );
Your ACP directory has now been renamed.
Remember to remove the ACP link from your board using the Security Center.
First, you'll need to physically rename the directory. Connect to your server via FTP and then browse to your IPB directory (this is the one that has your index.php file in it).
Locate the 'admin' directory. It has just one file inside called 'index.php'. Choose 'rename' from your FTP client menu and rename it. For the purposes of this tutorial, we'll rename it 'admin_secret'. If you have created .htaccess protection inside the existing directory, you MUST delete it or you will not be able to login to the ACP afterwards. You may recreate the .htaccess protection after you have completed the next step.
Step 2: Locate the 'init.php' file. This is in your IPB root directory. Download it and open it in a text editor.
Near the top of this file, you'll see:
//-----------------------------------------------
// USER CONFIGURABLE ELEMENTS
//-----------------------------------------------
/**
* ROOT PATH
*
* If __FILE__ is not supported, try ./ and
* turn off "USE_SHUTDOWN" or manually add in
* the full path
* @since 2.0.0.2005-01-01
*/
define( 'ROOT_PATH', dirname( __FILE__ ) ."/" );
/**
* Directory name for the admin folder
* @since 2.2.0.2006-06-30
*/
define( 'IPB_ACP_DIRECTORY', 'admin' );
Change the line:
define( 'IPB_ACP_DIRECTORY', 'admin' );
to
define( 'IPB_ACP_DIRECTORY', 'admin_secret' );
Your ACP directory has now been renamed.
Remember to remove the ACP link from your board using the Security Center.
#5
Posted 13 August 2011 - 03:01 PM
"Choose 'rename' from your FTP client menu and rename it."
i have a problem, can someone tell me witch one i have to change the "admin" folder or the file "index.php" because either of them does int work
i have a problem, can someone tell me witch one i have to change the "admin" folder or the file "index.php" because either of them does int work
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users





Contributor












