{"id":1760,"date":"2021-04-22T09:59:03","date_gmt":"2021-04-22T09:59:03","guid":{"rendered":"https:\/\/ccbill.com\/kb\/?p=1760"},"modified":"2023-03-06T09:10:59","modified_gmt":"2023-03-06T09:10:59","slug":"magento-change-admin-url","status":"publish","type":"post","link":"https:\/\/ccbill.com\/kb\/magento-change-admin-url","title":{"rendered":"How To Change Admin URL in Magento"},"content":{"rendered":"\n<p class=\"h3\">Introduction<\/p>\n\n\n\n<p>The default Magento Admin URL, <em>http:\/\/yourstore.com\/magento\/admin<\/em>, is an easy target for automated <a rel=\"noreferrer noopener\" href=\"https:\/\/phoenixnap.com\/blog\/brute-force-attack\" target=\"_blank\">brute force<\/a><a href=\"https:\/\/phoenixnap.com\/blog\/brute-force-attack\"><\/a> and <a href=\"https:\/\/phoenixnap.com\/blog\/prevent-ddos-attacks\">DDoS attacks<\/a>. Reduce the attack surface by setting up a custom Admin URL and protect your Magento store.<\/p>\n\n\n\n<p>Use one of these straightforward methods to change the Magento Admin URL:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\">\n<li>Edit the URL using the Admin Panel.<\/li>\n\n\n\n<li>Modify the Admin URL within the <em>env.php<\/em> file.<\/li>\n\n\n\n<li>Change the URL using the command line.<\/li>\n<\/ol>\n\n\n\n<p><strong>Find out how to change the Magento Admin URL and reduce malicious activity on your <a href=\"https:\/\/ccbill.com\/industries\/ecommerce\" target=\"_blank\" rel=\"noreferrer noopener\">ecommerce store.<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"400\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png\" alt=\"Admin changing setting in Magento.\" class=\"wp-image-1762\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento-300x150.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Method 1: Change Magento Admin URL via Admin Panel<\/h2>\n\n\n\n<p>To change the default Magento Admin URL and path:<\/p>\n\n\n\n<p>1. Access the Magento Admin panel.<\/p>\n\n\n\n<p>2. Click <strong>Stores<\/strong> on the Admin sidebar. <\/p>\n\n\n\n<p>3. Select <strong>Configuration<\/strong> in the <em>Settings <\/em>menu.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"422\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-configuration-magento-admin-url.png\" alt=\"Access Configuration menu in Magento Admin.\" class=\"wp-image-1765\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-configuration-magento-admin-url.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-configuration-magento-admin-url-300x158.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-configuration-magento-admin-url-768x405.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>4. Open the <em>Advanced <\/em>drop-down and click <strong>Admin<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/advanced-admin-change-url-magento.png\" alt=\"Open Advanced option in Magento Admin.\" class=\"wp-image-1768\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/advanced-admin-change-url-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/advanced-admin-change-url-magento-300x169.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/advanced-admin-change-url-magento-768x432.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>5. Expand the <strong>Admin Base URL<\/strong> section.<\/p>\n\n\n\n<p>6. Uncheck the <strong>Use System Value<\/strong> box and set the <strong>Use Custom Admin URL<\/strong> field to <strong>Yes<\/strong>. <\/p>\n\n\n\n<p>7. Enter a custom URL in the <strong>Custom Admin URL<\/strong> field. Uncheck the <strong>Use System Value<\/strong> box if necessary.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"402\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/add-custom-admin-url-magento.png\" alt=\"Add a custom Magento Admin URL.\" class=\"wp-image-1767\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/add-custom-admin-url-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/add-custom-admin-url-magento-300x151.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/add-custom-admin-url-magento-768x386.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>The Admin URL needs to end with a forward slash (\/) and be in the same directory as the Magento storefront. For example, <em>https:\/\/yourstore.com\/magento2.4\/<\/em>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background is-style-wide\"\/>\n\n\n\n<p><strong>Note:<\/strong> Ensure that any URL changes are consistent with the configuration in other dependent systems. For example, a hosting provider may require specific URL formats to be compatible with <a href=\"https:\/\/phoenixnap.com\/blog\/types-of-firewalls\" target=\"_blank\" rel=\"noreferrer noopener\">firewall<\/a> settings.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background is-style-wide\"\/>\n\n\n\n<p>9. Change the value in the <strong>Use Custom Admin Path<\/strong> field to <strong>Yes<\/strong>.<\/p>\n\n\n\n<p>10. Enter a <strong>Custom Admin Path<\/strong>. In this example, the Admin path value is <em>jw1gl4fwy<\/em>. The complete URL to access the Magento Admin would be <em>https:\/\/yourstore.com\/magento2.4\/jw1gl4fwy.<\/em> <\/p>\n\n\n\n<p>11. Click <strong>Save Config<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"396\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/custom-admin-path-magento.png\" alt=\"Add custom Admin path in Magento Admin.\" class=\"wp-image-1771\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/custom-admin-path-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/custom-admin-path-magento-300x149.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/custom-admin-path-magento-768x380.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Log out of the Admin and log in using the new URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method 2: Change Admin URL in the <em>env.php<\/em> File<\/h2>\n\n\n\n<p>Use the following steps to edit the Magento Admin path within the <em>env.php<\/em> file:<\/p>\n\n\n\n<p>1. Establish an SSH connection with your Magento server. <\/p>\n\n\n\n<p>2. Access the \/<em>app\/etc\/<\/em> subdirectory in the Magento installation directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/magento2.4\/app\/etc\/<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"57\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-magento-root-directory-app-etc.png\" alt=\"Location of the app\/etc subdirectory in the Magento root directory.\" class=\"wp-image-1766\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-magento-root-directory-app-etc.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-magento-root-directory-app-etc-300x21.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/access-magento-root-directory-app-etc-768x55.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>In this example, <a href=\"https:\/\/ccbill.com\/kb\/how-to-install-magento-in-linux\" target=\"_blank\" rel=\"noreferrer noopener\">Magento is installed<\/a> in the \/<em>var\/www\/html\/magento2.4\/ <\/em>directory. Edit the path to match the path on your server. <\/p>\n\n\n\n<p>3. Open the <em>env.php<\/em> file using a text editor. For example, the <em>nano<\/em> text editor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano env.php<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"54\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/open-env-php-file-magento.png\" alt=\"Open etc.php in Magento using command line.\" class=\"wp-image-1763\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/open-env-php-file-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/open-env-php-file-magento-300x20.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/open-env-php-file-magento-768x52.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>4. Locate the default value of the <strong><em>frontName<\/em><\/strong> parameter in the <em>env.php<\/em> file:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"198\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-default-value-env-php-magento.png\" alt=\"Location of the frontName value in the etc.php file.\" class=\"wp-image-1774\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-default-value-env-php-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-default-value-env-php-magento-300x74.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-default-value-env-php-magento-768x190.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>5. Use lowercase letters to enter a custom value for the <strong><em>frontName<\/em><\/strong> parameter:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"200\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-custom-value-env-php-magento.png\" alt=\"Custom frontName value in etc.php file.\" class=\"wp-image-1773\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-custom-value-env-php-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-custom-value-env-php-magento-300x75.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/frontname-custom-value-env-php-magento-768x192.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>6. Save the file and exit.<\/p>\n\n\n\n<p>7. Access the Magento installation directory and flush the cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"311\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/flush-magento-cache-command-line.png\" alt=\"Clear Magento cache from command line.\" class=\"wp-image-1772\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/flush-magento-cache-command-line.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/flush-magento-cache-command-line-300x117.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/flush-magento-cache-command-line-768x299.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Alternatively, use the Admin panel to <a href=\"https:\/\/ccbill.com\/kb\/magento-install-new-theme#ftoc-heading-8\" target=\"_blank\" rel=\"noreferrer noopener\">flush the Magento cache<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background is-style-wide\"\/>\n\n\n\n<p><strong>Note:<\/strong> The <em>env.php<\/em> file also contains database connection settings. To be able to change database hostname, database password, or use a different database, you will need to learn <a href=\"https:\/\/ccbill.com\/kb\/magento-mysql-config\" target=\"_blank\" rel=\"noreferrer noopener\">how to edit the MySQL config file<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Method 3: Change Admin URL from the Command Line<\/h2>\n\n\n\n<p>To change the Magento Admin URL using the command line:<\/p>\n\n\n\n<p>1. Log in to the Magento server.<\/p>\n\n\n\n<p>2. Access the Magento installation directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/magento2.4\/<\/code><\/pre>\n\n\n\n<p>Modify the command to match the directory path on your system.<\/p>\n\n\n\n<p>3. Use the following command to change the Magento Admin path:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento setup:config:set --backend-frontname=&quot;new_admin_path&quot; <\/code><\/pre>\n\n\n\n<p>Enter your custom path instead of the <strong><em>new_admin_path<\/em> <\/strong>value from the example.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"63\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/change-magento-admin-url-command-line.png\" alt=\"ChangeMagento Admin path from command line.\" class=\"wp-image-1769\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/change-magento-admin-url-command-line.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/change-magento-admin-url-command-line-300x24.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/change-magento-admin-url-command-line-768x60.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>If the system asks to confirm the change of the current configuration, enter <strong>Y<\/strong> to continue.<\/p>\n\n\n\n<p>4. Flush 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>Access the Magento Admin using the custom URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Restore Default Magento Admin URL<\/h2>\n\n\n\n<p>It is not uncommon to make a mistake while changing the Magento Admin URL. A faulty URL can lock users out of the Admin panel. To resolve this issue, utilize the command line and restore the default Magento Admin URL.<\/p>\n\n\n\n<p>1. Access the Magento root directory and check the current Admin path value:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bin\/magento info:adminuri<\/code><\/pre>\n\n\n\n<p>The system shows the current Admin path.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"74\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/check-admin-uri-magento-1.png\" alt=\"Display the current Admin URI.\" class=\"wp-image-1784\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/check-admin-uri-magento-1.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/check-admin-uri-magento-1-300x28.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/check-admin-uri-magento-1-768x71.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>2. Use the following command to restore the default Admin URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento config:set admin\/url\/use_custom 0<\/code><\/pre>\n\n\n\n<p>3. If you changed the path within the <em>env.php<\/em> file or from the command line, reset the Admin path by entering:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento config:set admin\/url\/use_custom_path 0 <\/code><\/pre>\n\n\n\n<p>The <em>\"Value was saved\"<\/em> message confirms that the path is reset to the default value.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"59\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/restore-deafult-admin-url-magento.png\" alt=\"Message shows that the default Magento URL is restored.\" class=\"wp-image-1764\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/restore-deafult-admin-url-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/restore-deafult-admin-url-magento-300x22.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/restore-deafult-admin-url-magento-768x57.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>4. Flush the Magento cache before attempting to log in.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"h3\">Conclusion<\/p>\n\n\n\n<p>You have successfully changed the Magento Admin URL and established a new security layer for your Magento store. <\/p>\n\n\n\n<p>Changing the Admin URL does not protect the online store from some of the more advanced ecommerce security threats. Make your store safer by applying a broader set of <a href=\"https:\/\/ccbill.com\/kb\/ecommerce-security\" target=\"_blank\" rel=\"noreferrer noopener\">best ecommerce security practices<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutorial explains how to edit the Magento Admin URL in three different ways. It also shows how to revert the Admin URL to default values if necessary.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,17],"tags":[],"class_list":["post-1760","post","type-post","status-publish","format-standard","hentry","category-e-commerce","category-online-security"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Change Admin URL in Magento {3 Methods} | CCBill KB<\/title>\n<meta name=\"description\" content=\"Learn how to change the Admin URL in Magento using 3 simple methods. Lots of detailed images guide you every step of the way.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change Admin URL in Magento {3 Methods} | CCBill KB\" \/>\n<meta property=\"og:description\" content=\"Learn how to change the Admin URL in Magento using 3 simple methods. Lots of detailed images guide you every step of the way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\" \/>\n<meta property=\"og:site_name\" content=\"CCBill Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ccbillBIZ\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-22T09:59:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-06T09:10:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png\" \/>\n<meta name=\"author\" content=\"Vladimir Kaplarevic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:site\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vladimir Kaplarevic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#article\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\"},\"author\":{\"name\":\"Vladimir Kaplarevic\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\"},\"headline\":\"How To Change Admin URL in Magento\",\"datePublished\":\"2021-04-22T09:59:03+00:00\",\"dateModified\":\"2023-03-06T09:10:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\"},\"wordCount\":723,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png\",\"articleSection\":[\"eCommerce Tutorials\",\"Online Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\",\"url\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\",\"name\":\"Change Admin URL in Magento {3 Methods} | CCBill KB\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png\",\"datePublished\":\"2021-04-22T09:59:03+00:00\",\"dateModified\":\"2023-03-06T09:10:59+00:00\",\"description\":\"Learn how to change the Admin URL in Magento using 3 simple methods. Lots of detailed images guide you every step of the way.\",\"breadcrumb\":{\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ccbill.com\/kb\/magento-change-admin-url\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png\",\"width\":800,\"height\":400,\"caption\":\"Admin changing setting in Magento.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ccbill.com\/kb\/magento-change-admin-url#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"KB Home\",\"item\":\"https:\/\/ccbill.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Online Security\",\"item\":\"https:\/\/ccbill.com\/kb\/category\/online-security\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Change Admin URL in Magento\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ccbill.com\/kb\/#website\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"name\":\"CCBill Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ccbill.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\",\"name\":\"CCBill\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"width\":160,\"height\":70,\"caption\":\"CCBill\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ccbillBIZ\/\",\"https:\/\/x.com\/CCBillBIZ\",\"https:\/\/www.linkedin.com\/company\/ccbill\",\"https:\/\/www.youtube.com\/c\/CCBillBiz\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\",\"name\":\"Vladimir Kaplarevic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"caption\":\"Vladimir Kaplarevic\"},\"description\":\"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Change Admin URL in Magento {3 Methods} | CCBill KB","description":"Learn how to change the Admin URL in Magento using 3 simple methods. Lots of detailed images guide you every step of the way.","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:\/\/ccbill.com\/kb\/magento-change-admin-url","og_locale":"en_US","og_type":"article","og_title":"Change Admin URL in Magento {3 Methods} | CCBill KB","og_description":"Learn how to change the Admin URL in Magento using 3 simple methods. Lots of detailed images guide you every step of the way.","og_url":"https:\/\/ccbill.com\/kb\/magento-change-admin-url","og_site_name":"CCBill Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/ccbillBIZ\/","article_published_time":"2021-04-22T09:59:03+00:00","article_modified_time":"2023-03-06T09:10:59+00:00","og_image":[{"url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png","type":"","width":"","height":""}],"author":"Vladimir Kaplarevic","twitter_card":"summary_large_image","twitter_creator":"@CCBillBIZ","twitter_site":"@CCBillBIZ","twitter_misc":{"Written by":"Vladimir Kaplarevic","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#article","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url"},"author":{"name":"Vladimir Kaplarevic","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644"},"headline":"How To Change Admin URL in Magento","datePublished":"2021-04-22T09:59:03+00:00","dateModified":"2023-03-06T09:10:59+00:00","mainEntityOfPage":{"@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url"},"wordCount":723,"commentCount":0,"publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"image":{"@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png","articleSection":["eCommerce Tutorials","Online Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ccbill.com\/kb\/magento-change-admin-url#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url","url":"https:\/\/ccbill.com\/kb\/magento-change-admin-url","name":"Change Admin URL in Magento {3 Methods} | CCBill KB","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage"},"image":{"@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png","datePublished":"2021-04-22T09:59:03+00:00","dateModified":"2023-03-06T09:10:59+00:00","description":"Learn how to change the Admin URL in Magento using 3 simple methods. Lots of detailed images guide you every step of the way.","breadcrumb":{"@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ccbill.com\/kb\/magento-change-admin-url"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#primaryimage","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/04\/how-to-change-admin-url-magento.png","width":800,"height":400,"caption":"Admin changing setting in Magento."},{"@type":"BreadcrumbList","@id":"https:\/\/ccbill.com\/kb\/magento-change-admin-url#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"KB Home","item":"https:\/\/ccbill.com\/kb\/"},{"@type":"ListItem","position":2,"name":"Online Security","item":"https:\/\/ccbill.com\/kb\/category\/online-security"},{"@type":"ListItem","position":3,"name":"How To Change Admin URL in Magento"}]},{"@type":"WebSite","@id":"https:\/\/ccbill.com\/kb\/#website","url":"https:\/\/ccbill.com\/kb\/","name":"CCBill Knowledge Base","description":"","publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ccbill.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ccbill.com\/kb\/#organization","name":"CCBill","url":"https:\/\/ccbill.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","width":160,"height":70,"caption":"CCBill"},"image":{"@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ccbillBIZ\/","https:\/\/x.com\/CCBillBIZ","https:\/\/www.linkedin.com\/company\/ccbill","https:\/\/www.youtube.com\/c\/CCBillBiz"]},{"@type":"Person","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644","name":"Vladimir Kaplarevic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","caption":"Vladimir Kaplarevic"},"description":"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies."}]}},"_links":{"self":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/1760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/comments?post=1760"}],"version-history":[{"count":21,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/1760\/revisions"}],"predecessor-version":[{"id":4770,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/1760\/revisions\/4770"}],"wp:attachment":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/media?parent=1760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/categories?post=1760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/tags?post=1760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}