Ability to change the admin URL
How to rename the "admin123" folder
To ensure excellent safety and protect the administration of your site, you can rename the "admin123" folder.
To do this, rename the folder with the name of your choice, then edit the file ~/YOUR_PROTECTED_FOLDER/app/configs/constants.php and change
define('PH7_ADMIN_MOD', 'admin123');
by the new admin folder name.
Finally, since pH7Builder, v12.1), all URL lookups are cached for optimization purposes.
Because of that, you will also have to delete the "~/YOUR-PROTECTED-FOLDER/data/cache/pH7_cache/str/uri/" folder in order to take into account the new admin URL.
This folder will be regenerated and the URIs cached recreated.
📝 Found a typo/something to add? Edit this Page ✍️