How to bypass Elementor’s maintenance mode using the query string
Last updated • August 22nd, 2019
I recently found myself in a situation where I needed to test the non-logged in user experience while Elementor’s maintenance mode was enabled.
The quick and easy solution I came up with was to override the option Elementor uses to enable maintenance mode when the query string contained a parameter of my choosing.
Using the snippet below, I’m able to bypass the maintenance mode by appending ?bypass_maintenance=1 to the query string.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters