Title: Maintenance Switch
Author: Fugu Design
Published: <strong>जुलै 24, 2015</strong>
Last modified: मे 16, 2026

---

प्लगइन शोधा

![](https://ps.w.org/maintenance-switch/assets/banner-772x250.png?rev=1205966)

![](https://ps.w.org/maintenance-switch/assets/icon-256x256.png?rev=1205972)

# Maintenance Switch

 [Fugu Design](https://profiles.wordpress.org/fugudesign/) कडून

[डाउनलोड करा](https://downloads.wordpress.org/plugin/maintenance-switch.1.7.2.zip)

 * [तपशील](https://mr.wordpress.org/plugins/maintenance-switch/#description)
 * [पुनरावलोकने](https://mr.wordpress.org/plugins/maintenance-switch/#reviews)
 *  [इंस्टॉलेशन](https://mr.wordpress.org/plugins/maintenance-switch/#installation)
 * [डेव्हलोपमेंट](https://mr.wordpress.org/plugins/maintenance-switch/#developers)

 [समर्थन](https://wordpress.org/support/plugin/maintenance-switch/)

## वर्णन

**One-click maintenance mode**

This plugin adds a button to the admin bar for toggling the builtin maintenance 
mode.

**Core maintenance mode**

A .maintenance file is generated and copied to the WordPress installation folder
when turning on the maintenance mode.
 A maintenance.php file is generated and added
to the wp-content folder for custom HTML code.

**Your custom maintenance page will also be active during the core, plugins and 
themes updates.**

#### Special Features

 * set which roles can switch the maintenance mode
 * set which roles can bypass the maintenance mode on the frontend
 * set the entire HTML code used for the maintenance page
 * preview the maintenance page before saving
 * enable the theme file support, so you can create in each your themes a maintenance.
   php file to customize the maintenance page
 * restore all default settings
 * restore default HTML code
 * create/delete the maintenance file in the active WP theme

### Translations

 * English – default, always included
 * French

## स्क्रीनशॉट

 * [[
 * A button is added to the admin bar for simple toggling in maintenance mode.
 * [[
 * The “Display” tab of the settings page allow you to define the entire HTML code
   of your maintenance page, or use a custom file in your theme.
 * [[
 * The “Permissions” tab of the settings page allow you to define which user roles
   can bypass the maintenance mode (to visit the website when maintenance mode is
   on).
 * [[
 * The “Behavior” tab of the settings page allow you to change the http error code
   returned by the maintenance page.

## स्थापना

This section describes how to install the plugin and get it working.

#### Using The WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘maintenance-switch’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `maintenance-switch.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard
 6. Navigate to ‘Settings’ > ‘Maintenance Switch’
 7. Adjust and save your settings

#### Using FTP

 1. Download `maintenance-switch.zip`
 2. Extract the `maintenance-switch` directory to your computer
 3. Upload the `maintenance-switch` directory to the `/wp-content/plugins/` directory
 4. Activate the plugin in the Plugin dashboard
 5. Navigate to ‘Settings’ > ‘Maintenance Switch’
 6. Adjust and save your settings

Follow this plugin on [GitHub](https://github.com/fugudesign/maintenance-switch)

## नेहमी विचारले जाणारे प्रश्न

### Can I set a counter for coming soon page?

The plugin allows you to set the entire HTML code of the maintenance page, you can
implement a counter with css and js code.

### Is my maintenance page HTML used during the core maintenance?

Yes, the maintenance.php file is used.

### Does the plugin automatically detects the url login?

Yes.

### Is it possible to customize page from my theme?

Yes, use the settings page to enable the theme file support.

## समीक्षा

![](https://secure.gravatar.com/avatar/9dbeb45c4fb849a85eedc959ea5970e8b0f42a57a5d3411ec5cd0f30c91645c6?
s=60&d=retro&r=g)

### 󠀁[Simply good](https://wordpress.org/support/topic/simply-good-18/)󠁿

 [Stefan Brechbuehl](https://profiles.wordpress.org/pixelstrolch/) सप्टेंबर 13, 
2019

I had to look for a while and finally found this plugin which is really simple without
any of the unnecessary stuff. Exactly what I needed.

![](https://secure.gravatar.com/avatar/8d99e3fe4e8c896e5910fe18f017641df9edd7d394705def5c13f04828dc8baa?
s=60&d=retro&r=g)

### 󠀁[Works absolutely perfectly.](https://wordpress.org/support/topic/works-absolutely-perfectly/)󠁿

 [willowen100](https://profiles.wordpress.org/willowen100/) ऑक्टोबर 11, 2018

Having the ability to toggle the switch on and off from the admin bar and test your
site in another web browser works extremely efficiently.

![](https://secure.gravatar.com/avatar/0e020a82fa1a18ecb6f9469ae631c8130ab6a6e5d61262d0f31a9ae5d685c093?
s=60&d=retro&r=g)

### 󠀁[No nonsense, works like a charm](https://wordpress.org/support/topic/no-nonsense-works-like-a-charm/)󠁿

 [Bence Fodor](https://profiles.wordpress.org/webmotion/) फेब्रुवारी 15, 2017

Does what it says on the tin, no bullsh*t, no sponsored crap (so far).

![](https://secure.gravatar.com/avatar/a1e27aff2bc1003251479d6daccf7a16384344a26d3a976c4325a7dc9151297d?
s=60&d=retro&r=g)

### 󠀁[Works with 4.6](https://wordpress.org/support/topic/works-with-46/)󠁿

 [tdaubs](https://profiles.wordpress.org/tdaubs/) सप्टेंबर 3, 2016

This is the cleanest WP maintenance plugin I have ever used. Thank you!

![](https://secure.gravatar.com/avatar/84f583ee4b6ec3b944551b1676b852e9042c0387260225ee23954c4954565418?
s=60&d=retro&r=g)

### 󠀁[It works!](https://wordpress.org/support/topic/it-works-957/)󠁿

 [bytekiller001](https://profiles.wordpress.org/bytekiller001/) सप्टेंबर 3, 2016

Testet on WP 4.5 and it works great. Nice Plugin, which option to insert complete
HTML-site. TOP!

![](https://secure.gravatar.com/avatar/61094bc812bb50313d53b1e9d9c6b5380e6515ae78a6f34179c5af57d5e48f4a?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-2010/)󠁿

 [Ken Haynes](https://profiles.wordpress.org/kenhaynes_it/) सप्टेंबर 3, 2016 1 उत्तर

Does exactly what is says it does, and it does it well and without error. I particularly
like the Maintenance button it adds to the administrative panel. Now there is no
need to go into a plugin’s settings just to toggle maintenance mode on and off. 
Thanks Fugu Design!

 [ सर्व 13 पुनरावलोकने वाचा ](https://wordpress.org/support/plugin/maintenance-switch/reviews/)

## योगदानकर्ते आणि विकसक

“Maintenance Switch” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत
योगदान केले आहे.

योगदानकर्ते

 *   [ Fugu Design ](https://profiles.wordpress.org/fugudesign/)

“Maintenance Switch” 2 लोकॅलसमध्ये भाषांतरित केले आहे. [अनुवादकांना](https://translate.wordpress.org/projects/wp-plugins/maintenance-switch/contributors)
त्यांच्या योगदानाबद्दल धन्यवाद.

[भाषांतर करा “Maintenance Switch” तुमच्या भाषेत.](https://translate.wordpress.org/projects/wp-plugins/maintenance-switch)

### विकासातील आग्रह?

[कोड ब्राउझ करा](https://plugins.trac.wordpress.org/browser/maintenance-switch/),
[SVN संग्रहालय](https://plugins.svn.wordpress.org/maintenance-switch/) तपासा, किंवा
[विकास लॉग](https://plugins.trac.wordpress.org/log/maintenance-switch/) च्या [RSS](https://plugins.trac.wordpress.org/log/maintenance-switch/?limit=100&mode=stop_on_copy&format=rss)
द्वारे सदस्यता घ्या.

## बदलांची यादी

#### 1.7.2

 * WordPress 7.0 compatibility confirmed
 * Updated minimum PHP requirement to 7.4 (aligned with WordPress 7.0)
 * Admin CSS updated to use WordPress CSS variables for compatibility with the new
   Modern admin theme
 * Fix: admin bar icon color now inherits native WordPress styles (was grey instead
   of white)
 * Fix: admin bar button text and icon stay white on red background when maintenance
   is active
 * Fix: admin bar button focus state cleared after toggle (no more blue highlight)
 * Fix: IP address input field aligned with adjacent button (added type=”text” and
   class=”regular-text”)
 * Added .distignore to exclude dev files from WordPress.org deployment package

#### 1.7.1

 * WordPress 6.9 compatibility confirmed
 * Improved WordPress Coding Standards compliance
 * Global variables now properly prefixed with maintenance_switch_
 * Functions renamed with correct prefix for better naming conventions
 * Added backward compatibility wrappers for smooth updates
 * Code quality improvements and optimizations

#### 1.7.0

 * WordPress 6.8 compatibility tested
 * Enhanced security improvements
 * Code modernization

#### 1.6.0

 * WordPress 6.3 compatibility tested
 * PHP 8.1 compatibility improvements
 * Replace deprecated wp_specialchars_decode() with htmlspecialchars_decode()
 * Fix fatal error with function redeclaration in .maintenance template
 * Modernize plugin for current WordPress standards

#### 1.5.2

 * Fix the preview page bug with code editor

#### 1.5.1

 * Fix the disabled code field bug
 * Enqueue admin assets only on settings page

#### 1.5.0

 * Add a gitignore and gulp files
 * Add the wp code editor to the page HTML setting
 * Test for compatibility with WordPress 4.9

#### 1.4.0

 * Add a info link about moving to GitHub
 * Test for compatibility with WordPress 4.7

#### 1.3.8

 * Adding an option for stoping to return 503 error code

#### 1.3.7

 * Fix a bug of settings initialization

#### 1.3.6

 * Fix a php in_array warning in admin display

#### 1.3.5

 * Fix a php error in the admin

#### 1.3.4

 * Fix a bug with migration of settings

#### 1.3.3

 * Fix bug with data saving
 * Fix bug with HTML encoding
 * Fix bug with files generation
 * Fix a very persistent bug with settings migration

#### 1.3.2

 * Fix a persistent bug with settings migration

#### 1.3.1

 * Fix a PHP4 compatibility issue
 * Fix a bug with settings migration
 * Improve some styles

#### 1.3.0

 * Improve performances
 * Implement WP Settings API
 * Adding reset features

#### 1.2.2

 * Adding POT language file
 * Updating language files

#### 1.2.1

 * Fix a bug with html code in preview page
 * Fix a bug when delete theme file after activating it

#### 1.2.0

 * Improve the switch button appearance
 * Adding Maintenance page preview

#### 1.1.8

 * Change the plugin description in admin area

#### 1.1.7

 * Adding roles management for maintenance control
 * Fix a icon bug on the switch button

#### 1.1.6

 * Adding omitted translations
 * Fix a bug about the HTML text config

#### 1.1.5

 * Adding French translations
 * Improve the default HTML texts

#### 1.1.4

 * Fix the bug to get IP through a proxy

#### 1.1.3

 * Fix a ajax button bug

#### 1.1.2

 * Fix a deactivation bug after updates

#### 1.1.1

 * Fix a deactivation bug after updates
 * Adding the status management in database
 * Adding the ability to use a maintenance.php file in the theme

#### 1.0.7

 * Fix a saving bug in the settings page

#### 1.0.6

 * Fix a js bug with the “add my ip” button

#### 1.0.5

 * Fix a php syntax error in config.php

#### 1.0.4

 * Adding exceptions for IP addresses

#### 1.0.3

 * Adding automatic detection of the login url

#### 1.0.2

 * Ajusting the readme file

#### 1.0.1

 * Fully rewritten with http://wppb.me/ boilerplate.
 * Adding activate and deactivate functionalities.
 * Fix switch button styles and actions from frontend.

#### 1.0.0

 * A change since the previous version.
 * Another change.

#### 1.0-alpha

 * First simple implementation of the main functionality

## मेटा

 *  आवृत्ती **1.7.2**
 *  शेवटचा अद्यतन **1 आठवडा पूर्वी**
 *  सक्रिय स्थापना **600+**
 *  वर्डप्रेस आवृत्ती ** 3.5 किंवा मोठा **
 *  परीक्षित केले आहे **7.0**
 *  PHP आवृत्ती ** 7.4 किंवा मोठा **
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/maintenance-switch/), [Spanish (Chile)](https://cl.wordpress.org/plugins/maintenance-switch/),
   आणि [Spanish (Spain)](https://es.wordpress.org/plugins/maintenance-switch/).
 *  [तुमच्या भाषेत भाषांतर करा](https://translate.wordpress.org/projects/wp-plugins/maintenance-switch)
 * टॅग्ज:
 * [coming soon](https://mr.wordpress.org/plugins/tags/coming-soon/)[construction](https://mr.wordpress.org/plugins/tags/construction/)
   [maintenance](https://mr.wordpress.org/plugins/tags/maintenance/)[offline](https://mr.wordpress.org/plugins/tags/offline/)
   [switch](https://mr.wordpress.org/plugins/tags/switch/)
 *  [प्रगत दृश्य](https://mr.wordpress.org/plugins/maintenance-switch/advanced/)

## मूल्यांकन

 5 पैकी ५ तारे.

 *  [  12 5-तारांकित परीक्षणे     ](https://wordpress.org/support/plugin/maintenance-switch/reviews/?filter=5)
 *  [  0 4-तारांकित परीक्षणे     ](https://wordpress.org/support/plugin/maintenance-switch/reviews/?filter=4)
 *  [  0 3-तारांकित परीक्षणे     ](https://wordpress.org/support/plugin/maintenance-switch/reviews/?filter=3)
 *  [  0 2-तारांकित परीक्षणे     ](https://wordpress.org/support/plugin/maintenance-switch/reviews/?filter=2)
 *  [  0 1-तारांकित परीक्षणे     ](https://wordpress.org/support/plugin/maintenance-switch/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/maintenance-switch/reviews/#new-post)

[सर्व पुनरावलोकने पहा](https://wordpress.org/support/plugin/maintenance-switch/reviews/)

## योगदानकर्ते

 *   [ Fugu Design ](https://profiles.wordpress.org/fugudesign/)

## समर्थन

काहीतरी सांगायचं आहे का? मदतीची आवश्यकता आहे का?

 [समर्थन फोरम पहा](https://wordpress.org/support/plugin/maintenance-switch/)

## देणगी

आपण हे प्लगइन पुरविण्यात समर्थन करू इच्छिता का?

 [ ह्या प्लगइनला देणगी द्या ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JYBDJCKL3FCE8)