How to rename the ‘admin’ folder in PHP Melody

Starting with PHP Melody v2.2 you can easily move/rename PHP Melody’s ‘admin‘ folder.

You may want to do this for several reasons all concerning the security of your website. Let’s see how you can rename the ‘admin‘ folder without breaking PHP Melody.

Step 1.

Open /config.php and find this line:

define('_ADMIN_FOLDER', 'admin');

Replace the ‘admin‘ value with your new folder name (e.g. admin2015). Edit only the underlined bit. Make sure there are no empty spaces between the single quotes.

Save and upload /config.php to your installation.

Step 2.

Rename your ‘admin‘ folder to match the new folder name (i.e. admin2015).

That’s it. Job done!

Comments

One response to “How to rename the ‘admin’ folder in PHP Melody”

  1. registrazione binance Avatar

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.info/register?ref=P9L9FQKY

Leave a Reply

Your email address will not be published. Required fields are marked *