Edit File by line
/home/barbar84/public_h.../wp-conte...
File: maintenance.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// ATTENTION!
[2] Fix | Delete
//
[3] Fix | Delete
// DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
[4] Fix | Delete
// SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
[5] Fix | Delete
// IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILE:
[6] Fix | Delete
// /home/barbar84/public_html/wp-content/maintenance/template.phtml
[7] Fix | Delete
[8] Fix | Delete
[9] Fix | Delete
$protocol = $_SERVER['SERVER_PROTOCOL'];
[10] Fix | Delete
if ('HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol) {
[11] Fix | Delete
$protocol = 'HTTP/1.0';
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
header("{$protocol} 503 Service Unavailable", true, 503);
[15] Fix | Delete
header('Content-Type: text/html; charset=utf-8');
[16] Fix | Delete
header('Retry-After: 600');
[17] Fix | Delete
?>
[18] Fix | Delete
[19] Fix | Delete
<!DOCTYPE html>
[20] Fix | Delete
<html lang="en">
[21] Fix | Delete
<head>
[22] Fix | Delete
<meta charset="utf-8">
[23] Fix | Delete
<meta name="viewport" content="width=device-width">
[24] Fix | Delete
<link rel="icon" href="/favicon.ico">
[25] Fix | Delete
<link rel="stylesheet" href="http://barbaralambaseillustration.com/wp-content/maintenance/assets/styles.css">
[26] Fix | Delete
<script src="http://barbaralambaseillustration.com/wp-content/maintenance/assets/timer.js"></script>
[27] Fix | Delete
<title>Scheduled Maintenance</title>
[28] Fix | Delete
</head>
[29] Fix | Delete
[30] Fix | Delete
<body>
[31] Fix | Delete
[32] Fix | Delete
<div class="container">
[33] Fix | Delete
[34] Fix | Delete
<header class="header">
[35] Fix | Delete
<h1>The website is undergoing scheduled maintenance.</h1>
[36] Fix | Delete
<h2>Sorry for the inconvenience. Come back a bit later, we will be ready soon!</h2>
[37] Fix | Delete
</header>
[38] Fix | Delete
[39] Fix | Delete
<!--START_TIMER_BLOCK-->
[40] Fix | Delete
<!--END_TIMER_BLOCK-->
[41] Fix | Delete
[42] Fix | Delete
<!--START_SOCIAL_LINKS_BLOCK-->
[43] Fix | Delete
<section class="social-links">
[44] Fix | Delete
<a class="social-links__link" href="https://www.facebook.com/cPanel" target="_blank" title="Facebook">
[45] Fix | Delete
<span class="icon"><img src="http://barbaralambaseillustration.com/wp-content/maintenance/assets/images/facebook.svg" alt="Facebook"></span>
[46] Fix | Delete
</a>
[47] Fix | Delete
<a class="social-links__link" href="https://twitter.com/cPanel" target="_blank" title="Twitter">
[48] Fix | Delete
<span class="icon"><img src="http://barbaralambaseillustration.com/wp-content/maintenance/assets/images/twitter.svg" alt="Twitter"></span>
[49] Fix | Delete
</a>
[50] Fix | Delete
<a class="social-links__link" href="https://instagram.com/cPanel" target="_blank" title="Instagram">
[51] Fix | Delete
<span class="icon"><img src="http://barbaralambaseillustration.com/wp-content/maintenance/assets/images/instagram.svg" alt="Instagram"></span>
[52] Fix | Delete
</a>
[53] Fix | Delete
</section>
[54] Fix | Delete
<!--END_SOCIAL_LINKS_BLOCK-->
[55] Fix | Delete
[56] Fix | Delete
</div>
[57] Fix | Delete
[58] Fix | Delete
<footer class="footer">
[59] Fix | Delete
<div class="footer__content">
[60] Fix | Delete
Powered by WP Toolkit </div>
[61] Fix | Delete
</footer>
[62] Fix | Delete
[63] Fix | Delete
</body>
[64] Fix | Delete
</html>
[65] Fix | Delete
[66] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function