Title: Not working on https://
Last modified: September 18, 2017

---

# Not working on https://

 *  Resolved [notschew69](https://wordpress.org/support/users/notschew69/)
 * (@notschew69)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/not-working-on-https-4/)
 * Hi there,
 * My site is running on https:// only and the plugin doesn´t seem to work with 
   it. It works perfectly with http://
 * Any chance on getting it to work on [https://](https://wordpress.org/support/topic/not-working-on-https-4/?output_format=md)?
 * Thanks,
    Notschew

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/not-working-on-https-4/#post-9506801)
 * Hello [@notschew69](https://wordpress.org/support/users/notschew69/),
 * Please give more details (website url – where the maintenance mode is activated,
   describe the issue). What do you mean when you say “doesn’t seem to work”?
    I’m
   asking because I’m using it on multiple websites with https and it works like
   a charm.
 * Thanks.
    -  This reply was modified 8 years, 8 months ago by [George J](https://wordpress.org/support/users/georgejipa/).
    -  This reply was modified 8 years, 8 months ago by [George J](https://wordpress.org/support/users/georgejipa/).
    -  This reply was modified 8 years, 8 months ago by [George J](https://wordpress.org/support/users/georgejipa/).
 *  Thread Starter [notschew69](https://wordpress.org/support/users/notschew69/)
 * (@notschew69)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/not-working-on-https-4/#post-9507130)
 * Hi George,
 * My website is accessible through http:// and https:// while I prefer using https://(
   it´s a Woo Commerce shop). When I install and activate your plugin then the http://
   version is locked, but not the https:// version. The https:// version is still
   fully accessible.
 * Cheers,
    Notschew
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/not-working-on-https-4/#post-9507233)
 * [@notschew69](https://wordpress.org/support/users/notschew69/) I can’t replicate
   the issue, but I believe there is a redirection issue… and you should try this
   solution:
 * Edit `wp-content/plugins/wp-maintenance-mode/includes/classes/wp-maintenance-
   mode.php` and replace this line:
 *     ```
       add_action('init', array($this, 'init'));
       ```
   
 * With this line:
 *     ```
       add_action((is_admin() ? 'init' : 'template_redirect'), array($this, 'init'));
       ```
   
 * Thanks.
 *  Thread Starter [notschew69](https://wordpress.org/support/users/notschew69/)
 * (@notschew69)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/not-working-on-https-4/#post-9507289)
 * Works like a charm now, thank you very much 🙂
    -  This reply was modified 8 years, 8 months ago by [notschew69](https://wordpress.org/support/users/notschew69/).
    -  This reply was modified 8 years, 8 months ago by [notschew69](https://wordpress.org/support/users/notschew69/).
    -  This reply was modified 8 years, 8 months ago by [notschew69](https://wordpress.org/support/users/notschew69/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Not working on https://’ is closed to new replies.

 * ![](https://ps.w.org/wp-maintenance-mode/assets/icon-256x256.gif?rev=3027645)
 * [LightStart - Maintenance Mode, Coming Soon and Landing Page Builder](https://wordpress.org/plugins/wp-maintenance-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-maintenance-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-maintenance-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-maintenance-mode/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 4 replies
 * 2 participants
 * Last reply from: [notschew69](https://wordpress.org/support/users/notschew69/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/not-working-on-https-4/#post-9507289)
 * Status: resolved