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.
WordPress in Maintenance Mode = HTTP 503
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: WordPress in Maintenance Mode = HTTP 503
Hello,
Perhaps creating a Batch Wizard user function using the addTarget() function to login to a site would work?
Here is more information:
https://www.htmlvalidator.com/current/d ... target.htm
Please see example 2. Here it is below:
Note that the addTarget() function only works with the enterprise edition.
Perhaps creating a Batch Wizard user function using the addTarget() function to login to a site would work?
Here is more information:
https://www.htmlvalidator.com/current/d ... 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);
}
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial