WordPress in Maintenance Mode = HTTP 503

Posted:
Sat Mar 23, 2013 10:24 am
by zerojack
Having WordPress in Maintenance Mode (using the official WP Maintenance Mode plugin) returns an HTTP 503 error (along with the placeholder that I don't want to validate). I am supplying the user/pwd to CSE, and am not using HTTPS (so don't need a proxy setting).
I am not sure how difficult or feasible it would be for CSE to be able to log into Wordpress in Maintenance Mode, but I think it would be very useful.
Re: WordPress in Maintenance Mode = HTTP 503

Posted:
Sat Mar 23, 2013 7:21 pm
by Albert Wiersch
Hello,
Perhaps creating a
Batch Wizard user function using the addTarget() function to login to a site would work?
Here is more information:
http://www.htmlvalidator.com/htmlval/v1 ... target.htmPlease see example 2. Here it is below:
- Code: Select all
function onBeforeMainStart() {
$target.flags=32; // URL target
$target.moreflags=1; // follow links
$target.followdepthlimit=2; // don't go too deep
$target.method='POST'; // use POST instead of GET
$target.sendstring='username='+encodeUrl('someone@domain.com')+'&password='+encodeUrl('password');
$target.target='https://www.domain.com/login.php';
addTarget($target);
}
Note that the addTarget() function only works with the enterprise edition.