940cbdbde921b1b01bc102855d1b90fb

Can I use Maintenance Mode / Under Construction plugins?

Yes, but you might not need it.

Maintenance plugins are often used to lock down your website until it is ready for public viewing.

On Strattic, you may not need it as we have the following protections already in place.

  • When your WordPress container is online, it is protected by HTTP Authentication. Without login credentials, the public and robots cannot view your website.

  • Search engines are unable to access the Preview Environment because of the noindex tag, but users with the web address can access it.

  • Your Live Environment will be visible to everyone and search engines (unless you block them). If you would like to restrict access, HTTP authentication can be added to the Live Environment by contacting support via the Live Chat.

If you still would like to use a maintenance mode plugin, Strattic supports Under Construction By WebFactory Ltd

To set up;

  1. First Install & activate the plugin

  2. Next, add the following code to your functions.php file.

    add_filter( 'parse_request', 'strattic_parse_request', 10, 1 );
    function strattic_parse_request() {
    if (strpos( $_SERVER['REQUEST_URI'], 'strattic-api-request')) {
    remove_action('wp', array('UCP', 'display_construction_page'), 0);
    }
    }

    This will allow you to publish your website to static even when the plugin is enabled.

  3. After you have updated functions.php, you should perform a Full Publish to your chosen environment.


StratticΒ is an end-to-end managed WordPress static publishing and hosting platform.
Try it free for 14 days, no credit card required.

Did this answer your question?