Replace the word backend with the new folder name we have chosen in the above steps. $replaces = array('~^admin\b~', 'backend') It would be similar to the code shown below: And doable for forgotten password reset with a new table. It was simple to copy over to admin user login. The code to rename the ‘admin’ folder should already be there. Also, my example with an admin notification works well, only 1 notice per hour, per email or IP, if the account exists. If you are using vQmod, you will have to update the pathReplaces.php file, located in the /vqmod directory. HTTP define('HTTP_SERVER', '**admin**/') ĭefine('DIR_APPLICATION', '/home/userna5/public_html/opencart/**admin**/') ĭefine('DIR_SYSTEM', '/home/userna5/public_html/opencart/system/') ĭefine('DIR_DATABASE', '/home/userna5/public_html/opencart/system/database/') ĭefine('DIR_LANGUAGE', '/home/userna5/public_html/opencart/**admin**/language/') ĭefine('DIR_TEMPLATE', '/home/userna5/public_html/opencart/**admin**/view/template/') ĭefine('DIR_CONFIG', '/home/userna5/public_html/opencart/system/config/') ĭefine('DIR_IMAGE', '/home/userna5/public_html/opencart/image/') ĭefine('DIR_CACHE', '/home/userna5/public_html/opencart/system/cache/') ĭefine('DIR_DOWNLOAD', '/home/userna5/public_html/opencart/download/') ĭefine('DIR_LOGS', '/home/userna5/public_html/opencart/system/logs/') ĭefine('DIR_CATALOG', '/home/userna5/public_html/opencart/catalog/') ĭefine('DB_USERNAME', 'username_example') ĭefine('DB_DATABASE', 'username_example') Now, edit the /admin/config.php and replace ALL instances of the word ‘admin’ with the new folder name you have chosen in the above step. (For eg: “STA22R1”, “ROCKETSCIENCE74851”) Method 1: Reset Using phpMyAdmin Step 1: Acess phpMyAdmin Step 2: Find Your Database Step 3: Locate the wpusers File Step 4: Click on Edit Step 5: Change. Use an un-common name which is hard to guess and completely unrelated to your business. Enter the new folder name for the “admin” folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |