{"id":2712,"date":"2026-10-03T20:54:17","date_gmt":"2026-10-03T15:24:17","guid":{"rendered":"https:\/\/ehostpiya.in\/blog\/?p=2712"},"modified":"2026-10-03T20:54:21","modified_gmt":"2026-10-03T15:24:21","slug":"how-to-change-the-magento-admin-url","status":"publish","type":"post","link":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/","title":{"rendered":"How to Change the Magento Admin URL?"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_88 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#How_to_Change_the_Magento_Admin_URL\" >How to Change the Magento Admin URL<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#What_Is_the_Magento_Admin_URL\" >What Is the Magento Admin URL?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Why_Change_the_Magento_Admin_URL\" >Why Change the Magento Admin URL?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Before_Changing_the_Magento_Admin_URL\" >Before Changing the Magento Admin URL<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#1_Create_a_Backup\" >1. Create a Backup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#2_Make_Sure_You_Have_SSH_or_File_Access\" >2. Make Sure You Have SSH or File Access<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#3_Record_the_Current_Admin_URL\" >3. Record the Current Admin URL<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Where_Magento_Stores_the_Admin_URL\" >Where Magento Stores the Admin URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#How_to_Change_the_Magento_Admin_URL_Using_SSH\" >How to Change the Magento Admin URL Using SSH<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_1_Connect_to_Your_Server\" >Step 1: Connect to Your Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_2_Navigate_to_the_Magento_Directory\" >Step 2: Navigate to the Magento Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_3_Back_Up_envphp\" >Step 3: Back Up env.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_4_Open_envphp\" >Step 4: Open env.php<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_5_Flush_Magento_Cache\" >Step 5: Flush Magento Cache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_6_Test_the_New_Admin_URL\" >Step 6: Test the New Admin URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_7_Test_the_Storefront\" >Step 7: Test the Storefront<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Change_Magento_Admin_URL_With_a_One-Line_Command\" >Change Magento Admin URL With a One-Line Command<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Important\" >Important<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#How_to_Change_Magento_Admin_URL_on_DirectAdmin\" >How to Change Magento Admin URL on DirectAdmin<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Method_1_Using_DirectAdmin_File_Manager\" >Method 1: Using DirectAdmin File Manager<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_1_Log_in_to_DirectAdmin\" >Step 1: Log in to DirectAdmin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_2_Open_File_Manager\" >Step 2: Open File Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_3_Open_envphp\" >Step 3: Open env.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_4_Find_frontName\" >Step 4: Find frontName<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_5_Save_the_File\" >Step 5: Save the File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_6_Flush_Magento_Cache\" >Step 6: Flush Magento Cache<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Change_Magento_Admin_URL_on_cPanel\" >Change Magento Admin URL on cPanel<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_1_Open_File_Manager\" >Step 1: Open File Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_2_Open_envphp\" >Step 2: Open env.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_3_Locate_the_Backend_Configuration\" >Step 3: Locate the Backend Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_4_Save_the_File\" >Step 4: Save the File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Step_5_Clear_Magento_Cache\" >Step 5: Clear Magento Cache<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#How_to_Choose_a_New_Magento_Admin_URL\" >How to Choose a New Magento Admin URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#What_Happens_to_the_Old_Admin_URL\" >What Happens to the Old Admin URL?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#What_If_the_New_Admin_URL_Does_Not_Work\" >What If the New Admin URL Does Not Work?<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#1_Verify_frontName\" >1. Verify frontName<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#2_Check_for_Typographical_Errors\" >2. Check for Typographical Errors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#3_Flush_the_Cache\" >3. Flush the Cache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#4_Check_Magento_Logs\" >4. Check Magento Logs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-40\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#5_Check_Web_Server_Logs\" >5. Check Web Server Logs<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-41\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#What_If_You_Completely_Lose_Access_to_the_Magento_Admin\" >What If You Completely Lose Access to the Magento Admin?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-42\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Common_Mistakes_When_Changing_the_Magento_Admin_URL\" >Common Mistakes When Changing the Magento Admin URL<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-43\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Mistake_1_Editing_the_Wrong_Magento_Installation\" >Mistake 1: Editing the Wrong Magento Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-44\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Mistake_2_Forgetting_the_New_URL\" >Mistake 2: Forgetting the New URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-45\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Mistake_3_Not_Clearing_Cache\" >Mistake 3: Not Clearing Cache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-46\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Mistake_4_Sharing_envphp\" >Mistake 4: Sharing env.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-47\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Mistake_5_Treating_a_Hidden_Admin_URL_as_Complete_Security\" >Mistake 5: Treating a Hidden Admin URL as Complete Security<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-48\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Mistake_6_Changing_Production_Configuration_Without_a_Backup\" >Mistake 6: Changing Production Configuration Without a Backup<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-49\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Does_Changing_the_Admin_URL_Improve_Magento_Security\" >Does Changing the Admin URL Improve Magento Security?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-50\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Recommended_Magento_Admin_Security_Setup\" >Recommended Magento Admin Security Setup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-51\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-52\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Can_I_change_the_Magento_Admin_URL\" >Can I change the Magento Admin URL?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-53\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#What_file_contains_the_Magento_Admin_URL\" >What file contains the Magento Admin URL?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-54\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Do_I_need_to_change_my_Magento_administrator_username\" >Do I need to change my Magento administrator username?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-55\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Will_changing_the_Admin_URL_affect_my_customers\" >Will changing the Admin URL affect my customers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-56\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Do_I_need_to_restart_Apache_or_Nginx\" >Do I need to restart Apache or Nginx?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-57\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Can_I_use_any_word_as_the_Admin_URL\" >Can I use any word as the Admin URL?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-58\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Is_changing_the_Admin_URL_enough_to_secure_Magento\" >Is changing the Admin URL enough to secure Magento?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-59\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Quick_Checklist\" >Quick Checklist<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-60\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Change_the_Magento_Admin_URL\"><\/span>How to Change the Magento Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">The Magento Admin URL is the address used to access the backend of a Magento store. By default, some Magento installations may use a predictable administrator path, while others are configured with a custom path during installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the Magento Admin URL can make the administrative endpoint less predictable and can be useful as one layer of a broader security strategy. However, changing the URL should not be considered a replacement for strong passwords, two-factor authentication, access controls, security updates, and other Magento security practices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Magento, the Admin URL is controlled through the <code>frontName<\/code> value in the Magento environment configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide explains how to change the Magento Admin URL safely using SSH, DirectAdmin, cPanel, or a file editor.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_the_Magento_Admin_URL\"><\/span>What Is the Magento Admin URL?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Magento Admin URL is the backend address where administrators sign in and manage the store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/admin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A customized Admin URL might look like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/admin_7x9k<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The exact path depends on your Magento configuration.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Change_the_Magento_Admin_URL\"><\/span>Why Change the Magento Admin URL?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A customized administrator path can make the backend URL less obvious to automated scanners that target common administrator paths.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, instead of:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/admin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">you could use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/controlpanel<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">However, the URL itself should not be treated as a complete security mechanism.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A secure Magento installation should also use:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTTPS<\/li>\n\n\n\n<li>Strong administrator passwords<\/li>\n\n\n\n<li>Two-factor authentication<\/li>\n\n\n\n<li>Role-based permissions<\/li>\n\n\n\n<li>Regular Magento updates<\/li>\n\n\n\n<li>Updated extensions<\/li>\n\n\n\n<li>Server-level access controls<\/li>\n\n\n\n<li>Security monitoring<\/li>\n\n\n\n<li>Reliable backups<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Before_Changing_the_Magento_Admin_URL\"><\/span>Before Changing the Magento Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the administrator path affects how you access the Magento backend, so prepare the server before making the change.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Create_a_Backup\"><\/span>1. Create a Backup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create a current backup of your Magento files and database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At minimum, make sure you can restore:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and your Magento database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Make_Sure_You_Have_SSH_or_File_Access\"><\/span>2. Make Sure You Have SSH or File Access<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You need access to the Magento installation directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on your hosting environment, this may be through:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSH<\/li>\n\n\n\n<li>DirectAdmin File Manager<\/li>\n\n\n\n<li>cPanel File Manager<\/li>\n\n\n\n<li>Another server management panel<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Record_the_Current_Admin_URL\"><\/span>3. Record the Current Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before making changes, note the existing administrator URL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/admin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This makes troubleshooting easier if the new URL does not work.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_Magento_Stores_the_Admin_URL\"><\/span>Where Magento Stores the Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Magento stores the administrator front name in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Inside this file, look for the <code>backend<\/code> section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A configuration may look similar to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'admin'\n],<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The value of:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>frontName<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">determines the administrator path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'frontName' =&gt; 'storeadmin'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">means that the Admin URL uses:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storeadmin<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Change_the_Magento_Admin_URL_Using_SSH\"><\/span>How to Change the Magento Admin URL Using SSH<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">SSH is one of the most direct ways to change the Magento administrator path.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Connect_to_Your_Server\"><\/span>Step 1: Connect to Your Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Connect to the server using SSH:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh username@server-ip<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>username<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">with your server username and:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server-ip<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">with your server&#8217;s IP address or hostname.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Navigate_to_the_Magento_Directory\"><\/span>Step 2: Navigate to the Magento Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Change to your Magento installation directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Your actual Magento path may be different.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can verify that you are in the correct directory with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A Magento root directory commonly contains:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\nbin\ncomposer.json\npub\nvendor\nvar<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Back_Up_envphp\"><\/span>Step 3: Back Up <code>env.php<\/code><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before modifying the configuration, create a backup:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp app\/etc\/env.php app\/etc\/env.php.backup<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This gives you a quick way to restore the previous configuration if necessary.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Open_envphp\"><\/span>Step 4: Open <code>env.php<\/code><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use an editor such as <code>nano<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Find:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'admin'\n],<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Change <code>admin<\/code> to your desired administrator path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'storemanager'\n],<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If using nano:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Ctrl + O\nEnter\nCtrl + X<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Flush_Magento_Cache\"><\/span>Step 5: Flush Magento Cache<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">After changing the configuration, clear the Magento cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also check the cache status:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:status<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Test_the_New_Admin_URL\"><\/span>Step 6: Test the New Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Open your new administrator URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>example.com<\/code> with your domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the login page appears, enter your existing administrator credentials.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_7_Test_the_Storefront\"><\/span>Step 7: Test the Storefront<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">After changing the Admin URL, also test the customer-facing website:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Homepage<\/li>\n\n\n\n<li>Product pages<\/li>\n\n\n\n<li>Category pages<\/li>\n\n\n\n<li>Customer login<\/li>\n\n\n\n<li>Cart<\/li>\n\n\n\n<li>Checkout<\/li>\n\n\n\n<li>Admin login<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the administrator path should not normally change the storefront URL.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Change_Magento_Admin_URL_With_a_One-Line_Command\"><\/span>Change Magento Admin URL With a One-Line Command<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">For experienced administrators, the Magento CLI can be used to configure the backend front name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the Magento root directory, you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento setup:config:set --backend-frontname=\"storemanager\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then flush the cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Afterward, access:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Important\"><\/span>Important<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Always verify the command against the Magento version and deployment environment you are running before using it on a production store. If you use a custom deployment or configuration management system, make sure the change is also reflected in your deployment process.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Change_Magento_Admin_URL_on_DirectAdmin\"><\/span>How to Change Magento Admin URL on DirectAdmin<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If Magento is hosted on DirectAdmin, you can change the Admin URL through SSH or File Manager.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_1_Using_DirectAdmin_File_Manager\"><\/span>Method 1: Using DirectAdmin File Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Log_in_to_DirectAdmin\"><\/span>Step 1: Log in to DirectAdmin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open your DirectAdmin account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Open_File_Manager\"><\/span>Step 2: Open File Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to your Magento installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A common location is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>domains\/example.com\/public_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Open_envphp\"><\/span>Step 3: Open <code>env.php<\/code><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Find_frontName\"><\/span>Step 4: Find <code>frontName<\/code><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Look for:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'admin'\n],<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Change it to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'storemanager'\n],<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Save_the_File\"><\/span>Step 5: Save the File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Save the changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Flush_Magento_Cache\"><\/span>Step 6: Flush Magento Cache<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If SSH access is available:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/domains\/example.com\/public_html\nphp bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then test:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Change_Magento_Admin_URL_on_cPanel\"><\/span>Change Magento Admin URL on cPanel<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">You can also change the administrator path through cPanel&#8217;s File Manager.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Open_File_Manager\"><\/span>Step 1: Open File Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to cPanel and open <strong>File Manager<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to the Magento installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_html\/<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Open_envphp\"><\/span>Step 2: Open <code>env.php<\/code><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Locate_the_Backend_Configuration\"><\/span>Step 3: Locate the Backend Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Find:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'admin'\n],<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Change the path:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'storemanager'\n],<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Save_the_File\"><\/span>Step 4: Save the File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Save the configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Clear_Magento_Cache\"><\/span>Step 5: Clear Magento Cache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you have terminal or SSH access:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then open:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Choose_a_New_Magento_Admin_URL\"><\/span>How to Choose a New Magento Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Choose an administrator path that is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Not obvious<\/li>\n\n\n\n<li>Easy for authorized administrators to remember<\/li>\n\n\n\n<li>Not identical to the domain name<\/li>\n\n\n\n<li>Not unnecessarily long<\/li>\n\n\n\n<li>Compatible with your access policies<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>storemanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">is easier to remember than an extremely complicated random string.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You could also use a less predictable path such as:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>admin_84kx<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Avoid paths containing sensitive information such as:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>companypassword<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>secretadmin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The purpose is to make the endpoint less predictable, not to store a secret in the URL.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Happens_to_the_Old_Admin_URL\"><\/span>What Happens to the Old Admin URL?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">After changing:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>frontName<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">the old administrator path should no longer be the correct Magento Admin URL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if you changed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/admin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/storemanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">you should use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">for future administrator logins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do not assume that Magento will automatically redirect the old URL to the new one.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_If_the_New_Admin_URL_Does_Not_Work\"><\/span>What If the New Admin URL Does Not Work?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If the new URL returns an error, check the following.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Verify_frontName\"><\/span>1. Verify <code>frontName<\/code><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep -n \"frontName\" app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure the configured value matches the URL you are using.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'frontName' =&gt; 'storemanager',<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">means:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;example.com\/storemanager<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Check_for_Typographical_Errors\"><\/span>2. Check for Typographical Errors<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure the URL matches the configuration exactly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>storemanager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">is different from:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>store-manager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>storeManager<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Flush_the_Cache\"><\/span>3. Flush the Cache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Check_Magento_Logs\"><\/span>4. Check Magento Logs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Review:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>var\/log\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tail -f var\/log\/system.log<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tail -f var\/log\/exception.log<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">when troubleshooting.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Check_Web_Server_Logs\"><\/span>5. Check Web Server Logs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If Magento logs do not reveal the problem, check the Apache or Nginx error logs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A web-server configuration problem can prevent the new Admin URL from reaching Magento correctly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_If_You_Completely_Lose_Access_to_the_Magento_Admin\"><\/span>What If You Completely Lose Access to the Magento Admin?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If you accidentally configure the wrong administrator path, you can restore the previous value directly in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; 'admin'\n],<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then clear the cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Afterward, test the original administrator URL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is why creating a backup before changing <code>env.php<\/code> is recommended.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Mistakes_When_Changing_the_Magento_Admin_URL\"><\/span>Common Mistakes When Changing the Magento Admin URL<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mistake_1_Editing_the_Wrong_Magento_Installation\"><\/span>Mistake 1: Editing the Wrong Magento Installation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On servers hosting multiple websites, make sure you modify the <code>env.php<\/code> belonging to the correct Magento installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mistake_2_Forgetting_the_New_URL\"><\/span>Mistake 2: Forgetting the New URL<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After changing the administrator path, save the new URL in your password manager or internal documentation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mistake_3_Not_Clearing_Cache\"><\/span>Mistake 3: Not Clearing Cache<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Magento configuration changes may not behave as expected until the appropriate cache is refreshed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mistake_4_Sharing_envphp\"><\/span>Mistake 4: Sharing <code>env.php<\/code><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Never publicly share the complete contents of:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It contains sensitive configuration information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mistake_5_Treating_a_Hidden_Admin_URL_as_Complete_Security\"><\/span>Mistake 5: Treating a Hidden Admin URL as Complete Security<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the URL does not replace proper authentication or security controls.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mistake_6_Changing_Production_Configuration_Without_a_Backup\"><\/span>Mistake 6: Changing Production Configuration Without a Backup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Always maintain a recovery path before making configuration changes on a live store.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_Changing_the_Admin_URL_Improve_Magento_Security\"><\/span>Does Changing the Admin URL Improve Magento Security?<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A non-default or less predictable Admin URL can reduce exposure to automated requests targeting commonly known administrator paths.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, it should be considered a <strong>defense-in-depth measure<\/strong>, not a primary security control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For stronger Magento security, combine it with:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTTPS<\/li>\n\n\n\n<li>Strong passwords<\/li>\n\n\n\n<li>Two-factor authentication<\/li>\n\n\n\n<li>Least-privilege administrator roles<\/li>\n\n\n\n<li>Regular security updates<\/li>\n\n\n\n<li>Updated extensions<\/li>\n\n\n\n<li>Server firewalls<\/li>\n\n\n\n<li>Access restrictions<\/li>\n\n\n\n<li>Security monitoring<\/li>\n\n\n\n<li>Regular backups<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Recommended_Magento_Admin_Security_Setup\"><\/span>Recommended Magento Admin Security Setup<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A practical administrator security setup can include:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Security Measure<\/th><th>Purpose<\/th><\/tr><\/thead><tbody><tr><td>Custom Admin URL<\/td><td>Makes the endpoint less predictable<\/td><\/tr><tr><td>HTTPS<\/td><td>Encrypts administrator traffic<\/td><\/tr><tr><td>Strong password<\/td><td>Protects administrator credentials<\/td><\/tr><tr><td>2FA<\/td><td>Adds another authentication factor<\/td><\/tr><tr><td>Admin roles<\/td><td>Limits user permissions<\/td><\/tr><tr><td>IP restrictions<\/td><td>Limits where administrators can connect<\/td><\/tr><tr><td>Firewall\/WAF<\/td><td>Filters unwanted traffic<\/td><\/tr><tr><td>Updates<\/td><td>Addresses known security issues<\/td><\/tr><tr><td>Backups<\/td><td>Provides recovery capability<\/td><\/tr><tr><td>Monitoring<\/td><td>Helps identify suspicious activity<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">No single measure should be relied upon by itself.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_I_change_the_Magento_Admin_URL\"><\/span>Can I change the Magento Admin URL?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Magento&#8217;s administrator path is controlled by the backend <code>frontName<\/code> configuration in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It can also be configured through Magento&#8217;s CLI tools.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_file_contains_the_Magento_Admin_URL\"><\/span>What file contains the Magento Admin URL?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The administrator front name is stored in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/etc\/env.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Look for:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'backend' =&gt; &#91;\n    'frontName' =&gt; '...'\n],<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Do_I_need_to_change_my_Magento_administrator_username\"><\/span>Do I need to change my Magento administrator username?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">No. Changing the Admin URL does not require changing the administrator username.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Will_changing_the_Admin_URL_affect_my_customers\"><\/span>Will changing the Admin URL affect my customers?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Normally, changing the backend path does not change the public storefront URL. However, you should always test both the storefront and backend after making the change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Do_I_need_to_restart_Apache_or_Nginx\"><\/span>Do I need to restart Apache or Nginx?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Usually, changing the Magento backend front name does not require a web-server restart. Clear the Magento cache and test the new URL. If your server uses additional caching or custom configuration, follow your deployment procedures.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_I_use_any_word_as_the_Admin_URL\"><\/span>Can I use any word as the Admin URL?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The path should follow Magento&#8217;s configuration requirements and should not conflict with another application route or server configuration. Choose a simple, non-obvious path that your administrators can manage safely.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Is_changing_the_Admin_URL_enough_to_secure_Magento\"><\/span>Is changing the Admin URL enough to secure Magento?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">No. It is only one layer of defense. Strong authentication, two-factor authentication, updates, least-privilege access, server security, monitoring, and backups remain important.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Quick_Checklist\"><\/span>Quick Checklist<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Before finishing the change, verify:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Magento backup is available.<\/li>\n\n\n\n<li><code>app\/etc\/env.php<\/code> has been backed up.<\/li>\n\n\n\n<li>The correct Magento installation was selected.<\/li>\n\n\n\n<li>The <code>frontName<\/code> value was changed correctly.<\/li>\n\n\n\n<li>Magento cache was flushed.<\/li>\n\n\n\n<li>The new Admin URL opens successfully.<\/li>\n\n\n\n<li>Administrator login works.<\/li>\n\n\n\n<li>The storefront still works.<\/li>\n\n\n\n<li>Magento logs show no new errors.<\/li>\n\n\n\n<li>The new Admin URL has been stored securely.<\/li>\n\n\n\n<li>Two-factor authentication is enabled where appropriate.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the Magento Admin URL is a relatively simple configuration task, but it should be performed carefully on a production store. The key configuration is the <code>backend.frontName<\/code> value in <code>app\/etc\/env.php<\/code>, which determines the path used to access the Magento backend.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before making the change, create a backup and record the existing configuration. Afterward, clear the Magento cache and test both the new administrator URL and the customer-facing storefront.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most importantly, treat a custom Admin URL as an additional security layer rather than a replacement for strong authentication, two-factor authentication, regular updates, access controls, monitoring, and backups.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want, the next related Magento article can be <strong>\u201cHow to Create Magento Admin Users and Roles\u201d<\/strong> to continue the administration\/security series.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"How to Change the Magento Admin URL The Magento Admin URL is the address used to access the&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[138],"tags":[],"class_list":["post-2712","post","type-post","status-publish","format-standard","category-magento","cs-entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change the Magento Admin URL? - Web Hosting Blogs by Ehostpiya | Tips and Tricks<\/title>\n<meta name=\"description\" content=\"How to Change the Magento Admin URL? - Magento\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change the Magento Admin URL? - Web Hosting Blogs by Ehostpiya | Tips and Tricks\" \/>\n<meta property=\"og:description\" content=\"How to Change the Magento Admin URL? - Magento\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/ehostpiya\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-03T15:24:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-03T15:24:21+00:00\" \/>\n<meta name=\"author\" content=\"Vandeeta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vandeeta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/\"},\"author\":{\"name\":\"Vandeeta\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/person\\\/7e99667266ef1b118ad734c1c035d796\"},\"headline\":\"How to Change the Magento Admin URL?\",\"datePublished\":\"2026-10-03T15:24:17+00:00\",\"dateModified\":\"2026-10-03T15:24:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/\"},\"wordCount\":1787,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#organization\"},\"articleSection\":[\"Magento\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/\",\"name\":\"How to Change the Magento Admin URL? - Web Hosting Blogs by Ehostpiya | Tips and Tricks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#website\"},\"datePublished\":\"2026-10-03T15:24:17+00:00\",\"dateModified\":\"2026-10-03T15:24:21+00:00\",\"description\":\"How to Change the Magento Admin URL? - Magento\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/how-to-change-the-magento-admin-url\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change the Magento Admin URL?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/\",\"name\":\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#organization\",\"name\":\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/512.png\",\"contentUrl\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/512.png\",\"width\":512,\"height\":512,\"caption\":\"Web Hosting Blogs by Ehostpiya | Tips and Tricks\"},\"image\":{\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/ehostpiya\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/#\\\/schema\\\/person\\\/7e99667266ef1b118ad734c1c035d796\",\"name\":\"Vandeeta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g\",\"caption\":\"Vandeeta\"},\"sameAs\":[\"https:\\\/\\\/ehostpiya.in\\\/blog\"],\"url\":\"https:\\\/\\\/ehostpiya.in\\\/blog\\\/author\\\/ehostpiya_blog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change the Magento Admin URL? - Web Hosting Blogs by Ehostpiya | Tips and Tricks","description":"How to Change the Magento Admin URL? - Magento","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/","og_locale":"en_US","og_type":"article","og_title":"How to Change the Magento Admin URL? - Web Hosting Blogs by Ehostpiya | Tips and Tricks","og_description":"How to Change the Magento Admin URL? - Magento","og_url":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/","og_site_name":"Web Hosting Blogs by Ehostpiya | Tips and Tricks","article_publisher":"https:\/\/facebook.com\/ehostpiya","article_published_time":"2026-10-03T15:24:17+00:00","article_modified_time":"2026-10-03T15:24:21+00:00","author":"Vandeeta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vandeeta","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#article","isPartOf":{"@id":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/"},"author":{"name":"Vandeeta","@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/person\/7e99667266ef1b118ad734c1c035d796"},"headline":"How to Change the Magento Admin URL?","datePublished":"2026-10-03T15:24:17+00:00","dateModified":"2026-10-03T15:24:21+00:00","mainEntityOfPage":{"@id":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/"},"wordCount":1787,"commentCount":0,"publisher":{"@id":"https:\/\/ehostpiya.in\/blog\/#organization"},"articleSection":["Magento"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/","url":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/","name":"How to Change the Magento Admin URL? - Web Hosting Blogs by Ehostpiya | Tips and Tricks","isPartOf":{"@id":"https:\/\/ehostpiya.in\/blog\/#website"},"datePublished":"2026-10-03T15:24:17+00:00","dateModified":"2026-10-03T15:24:21+00:00","description":"How to Change the Magento Admin URL? - Magento","breadcrumb":{"@id":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ehostpiya.in\/blog\/how-to-change-the-magento-admin-url\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ehostpiya.in\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Change the Magento Admin URL?"}]},{"@type":"WebSite","@id":"https:\/\/ehostpiya.in\/blog\/#website","url":"https:\/\/ehostpiya.in\/blog\/","name":"Web Hosting Blogs by Ehostpiya | Tips and Tricks","description":"","publisher":{"@id":"https:\/\/ehostpiya.in\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ehostpiya.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ehostpiya.in\/blog\/#organization","name":"Web Hosting Blogs by Ehostpiya | Tips and Tricks","url":"https:\/\/ehostpiya.in\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ehostpiya.in\/blog\/wp-content\/uploads\/2026\/08\/512.png","contentUrl":"https:\/\/ehostpiya.in\/blog\/wp-content\/uploads\/2026\/08\/512.png","width":512,"height":512,"caption":"Web Hosting Blogs by Ehostpiya | Tips and Tricks"},"image":{"@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/ehostpiya"]},{"@type":"Person","@id":"https:\/\/ehostpiya.in\/blog\/#\/schema\/person\/7e99667266ef1b118ad734c1c035d796","name":"Vandeeta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ee031298008d633e52bec71ce70d11a0b605dc666af42cdd52a950f061ad9f08?s=96&d=mm&r=g","caption":"Vandeeta"},"sameAs":["https:\/\/ehostpiya.in\/blog"],"url":"https:\/\/ehostpiya.in\/blog\/author\/ehostpiya_blog\/"}]}},"_links":{"self":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts\/2712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/comments?post=2712"}],"version-history":[{"count":1,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts\/2712\/revisions"}],"predecessor-version":[{"id":2713,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/posts\/2712\/revisions\/2713"}],"wp:attachment":[{"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/media?parent=2712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/categories?post=2712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ehostpiya.in\/blog\/wp-json\/wp\/v2\/tags?post=2712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}