Forums

[Plugin: Maintenance Mode] Uploaded 503 page, doesn't display (4 posts)

  1. elemsee
    Member
    Posted 1 month ago #

    I've installed the plugin and it seems to be working fine, as long as I use the default message.

    But I'd like to redirect to a custom "coming soon" page and have tried following scant instructions, which are basically "make a 503.php page."

    I googled a bit and got an example page, which I've pasted below. I've tried uploading this file to the root, to the default theme root, to the current them root -- all to no avail. It won't display.

    If someone can take pity on me, let me know if my code below is borked or if I'm trying to place the file in the wrong place. It's too bad that putting HTML in the text window doesn't wholly override the default message -- you still get that horizontal line and the other boilerplate stuff.

    Oh, and I'm using WPMU, but we only have one blog. Only using WPMU in order to make use of BuddyPress.

    <?php
    header("HTTP/1.1 503 Service Temporarily Unavailable");
    header("Status: 503 Service Temporarily Unavailable");
    header("Retry-After: 3600");
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <titleComing soon!</title>
    <meta name="robots" content="none" />
    
    <style type="text/css">
    <!--
    body {
    	font: 100% Verdana, Arial, Helvetica, sans-serif;
    	margin: 0;
    	padding: 0;
    	text-align: center;
    	background: #264050;
    	color: #ffffff;
    }
    -->
    </style>
    </head>
    <body>
    <img src="http://mysite.com/splashimage.png" border="0" />
    
    </body>
    </html>

    http://wordpress.org/extend/plugins/maintenance-mode/

  2. elemsee
    Member
    Posted 1 month ago #

    Found my own answer, after about five hours of more googling. lol. I'll see if it works.

    Well, the one thing about this project is that I'm learning a whole hell of a lot.

  3. elemsee
    Member
    Posted 1 month ago #

    Hrm, well, still not working.

    File is uploaded, have added the path to the page using my hosts "error page management" tool, activated 503 redirection in the plugin, but it still won't display.

    Am I missing a step?

  4. aliso
    Member
    Posted 2 weeks ago #

    Hi Elemsee,

    The way I was able to use the 503 page with this plugin is by adding a "503.php" page to the theme I was using. Then it uses that page instead of the default message.

    Hope this is what you needed!
    -Alison

Reply

You must log in to post.

About this Topic