{"id":52799,"date":"2025-01-28T08:19:09","date_gmt":"2025-01-28T08:19:09","guid":{"rendered":"https:\/\/peraltafinancing.com\/business\/internet-business\/make-magento-2-more-secure-with-a-simple-tweak\/"},"modified":"2025-01-28T08:19:09","modified_gmt":"2025-01-28T08:19:09","slug":"make-magento-2-more-secure-with-a-simple-tweak","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=52799","title":{"rendered":"Make Magento 2 More Secure with a Simple Tweak"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div id=\"post-9424\">\n<h2>Make Magento 2 More Secure with a Simple Tweak<\/h2>\n<p>Posted on June 16, 2022, 1:49 pm, by Robert Mangiafico. <\/p>\n<div class=\"entry\">\n<p>From time to time we have guest posts on the blog. Today\u2019s post is from Konstantin Gerasimov at goivvy.com.<\/p>\n<p>Magento 2 sites make their platform version public. You can visit \u2018domain.com\/magento_version\u2019 and get a message like this:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #008000;\"><strong>Magento\/2.4 (Community)<\/strong><\/span><\/p>\n<p>You can go to your site, append \/magento_version and wonder why <span style=\"text-decoration: underline;\"><strong><a href=\"https:\/\/www.goivvy.com\" target=\"_blank\">Magento developers<\/a><\/strong><\/span> team made it public.<\/p>\n<p>I consider it a security risk and here is how to fix it.<\/p>\n<p>All you need to do is to disable Magento_Version extension:<\/p>\n<pre style=\"padding-left: 30px;\" lang=\"bash\" line=\"1\" escaped=\"true\" xml:lang=\"bash\">php bin\/magento module:disable Magento_Version<\/pre>\n<p>You might want to recompile afterwards:<\/p>\n<pre style=\"padding-left: 30px;\" lang=\"bash\" line=\"1\" escaped=\"true\" xml:lang=\"bash\">php bin\/magento deploy:mode:set production<\/pre>\n<p>That\u2019s it. No more Magento version being displayed on your website.\u00a0 <img decoding=\"async\" src=\"https:\/\/www.lexiconn.com\/blog\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n<p>\u2026<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>About the author:<\/strong><\/span> Konstantin Gerasimov is a Magento certified developer with Goivvy.com. He specializes in speed optimization, migration and general Magento support. <!-- WP Biographia v3.3.2 --><\/p>\n<div class=\"wp-biographia-container-around\" style=\"background-color: #FFEAA8; border: 1px solid #000000;\">\n<div class=\"wp-biographia-text-no-pic\">\n<h3><\/h3>\n<p>Looking for a web host that understands ecommerce and business hosting?<br \/><strong><a href=\"https:\/\/www.lexiconn.com\/company\/why_lexiconn.html\">Check us out<\/a><\/strong> today!<\/p>\n<\/div>\n<\/div><\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Make Magento 2 More Secure with a Simple Tweak Posted on June 16, 2022, 1:49 pm, by Robert Mangiafico. From time to time we have guest posts on the blog. Today\u2019s post is from Konstantin Gerasimov at goivvy.com. Magento 2 sites make their platform version public. You can visit \u2018domain.com\/magento_version\u2019 and get a message like [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4302,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[30781,2765,2961,22262],"dealstore":[],"offerexpiration":[],"class_list":["post-52799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet-business","tag-magento","tag-secure","tag-simple","tag-tweak"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Make Magento 2 More Secure with a Simple Tweak - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=52799\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Make Magento 2 More Secure with a Simple Tweak - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Make Magento 2 More Secure with a Simple Tweak Posted on June 16, 2022, 1:49 pm, by Robert Mangiafico. From time to time we have guest posts on the blog. Today\u2019s post is from Konstantin Gerasimov at goivvy.com. Magento 2 sites make their platform version public. You can visit \u2018domain.com\/magento_version\u2019 and get a message like [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=52799\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-28T08:19:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=52799#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=52799\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"Make Magento 2 More Secure with a Simple Tweak\",\"datePublished\":\"2025-01-28T08:19:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=52799\"},\"wordCount\":166,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=52799#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg\",\"keywords\":[\"Magento\",\"Secure\",\"Simple\",\"tweak\"],\"articleSection\":[\"Internet Business\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=52799#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=52799\",\"url\":\"https:\/\/fivemor.com\/?p=52799\",\"name\":\"Make Magento 2 More Secure with a Simple Tweak - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=52799#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=52799#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg\",\"datePublished\":\"2025-01-28T08:19:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=52799#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=52799\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=52799#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg\",\"width\":200,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=52799#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Make Magento 2 More Secure with a Simple Tweak\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Make Magento 2 More Secure with a Simple Tweak - Som2ny Network","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:\/\/fivemor.com\/?p=52799","og_locale":"en_US","og_type":"article","og_title":"Make Magento 2 More Secure with a Simple Tweak - Som2ny Network","og_description":"Make Magento 2 More Secure with a Simple Tweak Posted on June 16, 2022, 1:49 pm, by Robert Mangiafico. From time to time we have guest posts on the blog. Today\u2019s post is from Konstantin Gerasimov at goivvy.com. Magento 2 sites make their platform version public. You can visit \u2018domain.com\/magento_version\u2019 and get a message like [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=52799","og_site_name":"Som2ny Network","article_published_time":"2025-01-28T08:19:09+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=52799#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=52799"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"Make Magento 2 More Secure with a Simple Tweak","datePublished":"2025-01-28T08:19:09+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=52799"},"wordCount":166,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=52799#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg","keywords":["Magento","Secure","Simple","tweak"],"articleSection":["Internet Business"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=52799#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=52799","url":"https:\/\/fivemor.com\/?p=52799","name":"Make Magento 2 More Secure with a Simple Tweak - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=52799#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=52799#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg","datePublished":"2025-01-28T08:19:09+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=52799#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=52799"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=52799#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/blank.jpg","width":200,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=52799#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"Make Magento 2 More Secure with a Simple Tweak"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/52799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=52799"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/52799\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/4302"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=52799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=52799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=52799"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=52799"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=52799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}