<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Magento_2_Custom_503_Maintenance_page</id>
		<title>Magento 2 Custom 503 Maintenance page - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Magento_2_Custom_503_Maintenance_page"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Custom_503_Maintenance_page&amp;action=history"/>
		<updated>2026-06-04T02:50:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Magento_2_Custom_503_Maintenance_page&amp;diff=1051&amp;oldid=prev</id>
		<title>Brian at 17:51, 10 December 2021</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Custom_503_Maintenance_page&amp;diff=1051&amp;oldid=prev"/>
				<updated>2021-12-10T17:51:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:51, 10 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Overall you can change any of the files in this directory to have custom 503, 404 and more..&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Overall you can change any of the files in this directory to have custom 503, 404 and more..&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Now lets enable maintenance mode and show off your new custom 503 page&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; bin/magento maintenance:enable&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key briansne_wiki-wiki_:diff:version:1.11a:oldid:1050:newid:1051 --&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Magento_2_Custom_503_Maintenance_page&amp;diff=1050&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Magento2 Custom 503 Maintenance Page ==  I would start off by talking about the 503 Maintenance Page and how you can customize it and let your customer know they can still c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Custom_503_Maintenance_page&amp;diff=1050&amp;oldid=prev"/>
				<updated>2021-12-10T17:49:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Magento2 Custom 503 Maintenance Page ==  I would start off by talking about the 503 Maintenance Page and how you can customize it and let your customer know they can still c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Magento2 Custom 503 Maintenance Page ==&lt;br /&gt;
&lt;br /&gt;
I would start off by talking about the 503 Maintenance Page and how you can customize it and let your customer know they can still contact you.&lt;br /&gt;
&lt;br /&gt;
===(HTTP) 503 response code definition:===&lt;br /&gt;
&lt;br /&gt;
The HyperText Transfer Protocol (HTTP) 503 Service Unavailable server error response code indicates that the server is not ready to handle the request.&lt;br /&gt;
Common causes are a server that is down for maintenance or that is overloaded.&lt;br /&gt;
&lt;br /&gt;
Below is the basic magento2 maintenance page&lt;br /&gt;
&lt;br /&gt;
[[File:503-magneto2-maintenace-page.png|800px|frameless|alt=create custom magento2 maintenance page]]&lt;br /&gt;
&lt;br /&gt;
===How to Create a Custom Maintenance Page ===&lt;br /&gt;
&lt;br /&gt;
You will want to navigate to your html/pub/errors directory, this is where all the changes will happen.&lt;br /&gt;
&lt;br /&gt;
You will be tempted to change the 503 in html/pub/errors/default directory, however this is the wrong way to go about creating a custom 503 page, unless at some random update you want to lose your page.&lt;br /&gt;
&lt;br /&gt;
First we will want to copy the html/pub/errors/default to a new directory &lt;br /&gt;
&lt;br /&gt;
example:&lt;br /&gt;
 cd html/pub/errors/&lt;br /&gt;
 cp -rf default custom&lt;br /&gt;
&lt;br /&gt;
Next go into the new custom directory and start editing your 503.phtml&lt;br /&gt;
&lt;br /&gt;
Once you are all finished, you will want go back out to the html/pub/errors directory &lt;br /&gt;
&lt;br /&gt;
First, you have set the xml file&lt;br /&gt;
 cp local.xml.sample local.xml&lt;br /&gt;
&lt;br /&gt;
Next you will need to edit the local.xml file to use your new custom directory files&lt;br /&gt;
&lt;br /&gt;
 vim local.xml&lt;br /&gt;
&lt;br /&gt;
Near the top of the file you will find:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;config&amp;gt;&lt;br /&gt;
     &amp;lt;skin&amp;gt;default&amp;lt;/skin&amp;gt;&lt;br /&gt;
     &amp;lt;report&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need to change this to use the custom directory:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;config&amp;gt;&lt;br /&gt;
     &amp;lt;skin&amp;gt;custom&amp;lt;/skin&amp;gt;&lt;br /&gt;
     &amp;lt;report&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Overall you can change any of the files in this directory to have custom 503, 404 and more..&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>