Miva - Maintenance Mode page updates
<mvt:comment><!-- Remove the link[rel="canonical"] from the MNTN page --></mvt:comment>
<mvt:if expr="g.Error_Message_Count">
<mvt:comment><!-- This will be true when the store is in maintenance mode --></mvt:comment>
<mvt:assign name="l.header" value="miva_output_header( 'Status', '503 Service Temporarily Unavailable' )" />
<mvt:comment>
<!--
Tell Search Engines to try again in '3600' seconds. Update the number as necessary.
Also, you could replace '3600' with a specific date & time.
For example: miva_output_header( 'Retry-After', 'Fri, 19 Mar 2013 12:00:00 GMT' )
-->
</mvt:comment>
<mvt:assign name="l.header" value="miva_output_header( 'Retry-After', '3600' )" />
<mvt:elseif expr="ISNULL g.Preview_MNTN">
<mvt:comment>
<!--
This will be true when the store is NOT in maintenance mode, and someone visits the Maintenance Mode page directly.
We typically don't want someone to access the maintenance mode page, so we'll just redirect them to the home page.
Pass 'Preview_MNTN=1' to bypass the redirect and visit the MNTN page.
-->
</mvt:comment>
<mvt:assign name="l.header" value="miva_output_header( 'Status', '301 Moved Permanently' )" />
<mvt:assign name="l.header" value="miva_output_header( 'Location', l.settings:urls:SFNT:auto )" />
</mvt:if>