{"id":2533,"date":"2023-08-23T11:37:25","date_gmt":"2023-08-23T11:37:25","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=2533"},"modified":"2023-08-23T11:37:26","modified_gmt":"2023-08-23T11:37:26","slug":"how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/","title":{"rendered":"How to Redirect Customers to the Homepage After Logout in Magento 2?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Redirecting Customers to the Homepage After Logout in Magento 2<\/h2>\n\n\n\n<p>You can set your store settings to redirect customers to the Homepage after logout. Use the Magento 2 Redirect after Login, Logout, and Registration extension to configure by following these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your Magento 2 admin panel.<\/li>\n\n\n\n<li>Go to <strong>Stores <\/strong>&gt; <strong>Configuration<\/strong>.<\/li>\n\n\n\n<li>In the left-side menu, under the Addify Extensions section, click on <strong>Addify Custom Redirect.<\/strong><\/li>\n\n\n\n<li>Set the \u201cEnable&#8221; option to &#8220;Yes&#8221; to enable logout redirection.<\/li>\n\n\n\n<li>Scroll down to the <strong>Redirect After Logout<\/strong> &gt; <strong>Logout Url<\/strong> section.<\/li>\n\n\n\n<li>Here, \u201cAdd a Redirect Rule,\u201d enter the URL of your Home page.&nbsp;<\/li>\n\n\n\n<li>Save the configuration.<\/li>\n<\/ul>\n\n\n\n<p>To test the logout redirection, follow the steps below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your Magento 2 customer account.<\/li>\n\n\n\n<li>Access the logout action. This can usually be done by clicking on a &#8220;Logout&#8221; link or button provided by your Magento 2 theme or using the URL \/customer\/account\/logout.<\/li>\n\n\n\n<li>After logging out, you should be automatically redirected to the homepage specified in the extension settings.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Redirecting Customers to the Homepage After Logout in Magento 2 You can set your store settings to redirect customers to the Homepage after logout. Use the Magento 2 Redirect after Login, Logout, and Registration extension to configure by following these steps: To test the logout redirection, follow the steps below:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2527,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-2533","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Redirect Customers to the Homepage After Logout in Magento 2? - Documentation<\/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:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Redirect Customers to the Homepage After Logout in Magento 2? - Documentation\" \/>\n<meta property=\"og:description\" content=\"Redirecting Customers to the Homepage After Logout in Magento 2 You can set your store settings to redirect customers to the Homepage after logout. Use the Magento 2 Redirect after Login, Logout, and Registration extension to configure by following these steps: To test the logout redirection, follow the steps below:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-23T11:37:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh4.googleusercontent.com\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/\",\"name\":\"How to Redirect Customers to the Homepage After Logout in Magento 2? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh4.googleusercontent.com\\\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg\",\"datePublished\":\"2023-08-23T11:37:25+00:00\",\"dateModified\":\"2023-08-23T11:37:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh4.googleusercontent.com\\\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg\",\"contentUrl\":\"https:\\\/\\\/lh4.googleusercontent.com\\\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Magento 2 Redirect after Login, Logout and Registration\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s MRALLR\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/magento\\\/magento-2-redirect-after-login-logout-and-registration\\\/how-tos\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Redirect Customers to the Homepage After Logout in Magento 2?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/addify.store\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Redirect Customers to the Homepage After Logout in Magento 2? - Documentation","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:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"How to Redirect Customers to the Homepage After Logout in Magento 2? - Documentation","og_description":"Redirecting Customers to the Homepage After Logout in Magento 2 You can set your store settings to redirect customers to the Homepage after logout. Use the Magento 2 Redirect after Login, Logout, and Registration extension to configure by following these steps: To test the logout redirection, follow the steps below:","og_url":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/","og_site_name":"Documentation","article_modified_time":"2023-08-23T11:37:26+00:00","og_image":[{"url":"https:\/\/lh4.googleusercontent.com\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/","url":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/","name":"How to Redirect Customers to the Homepage After Logout in Magento 2? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/lh4.googleusercontent.com\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg","datePublished":"2023-08-23T11:37:25+00:00","dateModified":"2023-08-23T11:37:26+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/#primaryimage","url":"https:\/\/lh4.googleusercontent.com\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg","contentUrl":"https:\/\/lh4.googleusercontent.com\/Q4W_c-LmaESF7RK25b922cSK55y8p_X5AYfbRmnAx_P6SUAzf8sTkeUxYmyiW9TiyNjv-emTEmFn0RWpTeLdTntM4HlAFxwT4iH9AnOGaPlucnO3SLp4S-QbdcapJG8Y2etmYaaxUe2yIPGIn4MMHgg"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/how-to-redirect-customers-to-the-homepage-after-logout-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"Magento","item":"https:\/\/addify.store\/documentation\/magento\/"},{"@type":"ListItem","position":3,"name":"Magento 2 Redirect after Login, Logout and Registration","item":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s MRALLR","item":"https:\/\/addify.store\/documentation\/magento\/magento-2-redirect-after-login-logout-and-registration\/how-tos\/"},{"@type":"ListItem","position":5,"name":"How to Redirect Customers to the Homepage After Logout in Magento 2?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=2533"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2533\/revisions"}],"predecessor-version":[{"id":2534,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2533\/revisions\/2534"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2527"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=2533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}