[Plugin: Maintenance Mode] Uploaded 503 page, doesn’t display
-
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" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xml:lang="en" lang="en" xmlns="https://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="https://mysite.com/splashimage.png" border="0" /> </body> </html>
https://www.ads-software.com/extend/plugins/maintenance-mode/
- The topic ‘[Plugin: Maintenance Mode] Uploaded 503 page, doesn’t display’ is closed to new replies.