WordPress in Maintenance Mode = HTTP 503

For topics about current BETA or future releases, including feature requests.
Post Reply
zerojack
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Thu Aug 11, 2011 5:28 pm

WordPress in Maintenance Mode = HTTP 503

Post by zerojack » Sat Mar 23, 2013 10:24 am

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.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3242
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: WordPress in Maintenance Mode = HTTP 503

Post by Albert Wiersch » Sat Mar 23, 2013 7:21 pm

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.htm

Please 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.
Image
Albert Wiersch

Post Reply