WordPress.org

Ready to get started?Download WordPress

Forums

WP Maintenance Mode
[resolved] Just get "The service is unavailable." when not logged in (7 posts)

  1. iansml
    Member
    Posted 2 years ago #

    I installed the plugin and can log in to see my dashboard, but other users just get the following message on a white screen instead of the theme or text I've configured for this plugin: "The service is unavailable."

    Any ideas what could be going on? Is this a plugin issue or something to do with my hosting company? Any suggestions welcome.

    Thanks

    http://wordpress.org/extend/plugins/wp-maintenance-mode/

  2. Frank
    Member
    Posted 2 years ago #

    Current i have tested in WP 3.3 and 3.4. no problems; works fine.
    You have install all files?

  3. Naz
    Member
    Posted 2 years ago #

    I'm getting the same message. The maintenance page doesn't show up, no matter what theme I choose from the list. All I get is that 503 error.

    And when I'm logged in on WordPress for iOS I get the same 503 message which means I can't log in there.

  4. Frank
    Member
    Posted 2 years ago #

    but maybe you have an other plugin with an rewrite or htaccess?
    the plugin create an rewrite to the maintenance page, if is active.

  5. jrhall
    Member
    Posted 2 years ago #

    I am also having the same issue.

    iansml and Naz, are you hosting on a Linux server or Windows/IIS?

    jh

  6. Naz
    Member
    Posted 2 years ago #

    Sorry for the late response. I am using a different plugin now. But I'm using Windows hosting. I hope that helps. :)

  7. Ekleipsis
    Member
    Posted 1 year ago #

    In case anyone stumbles on this before finding a solution,

    If you are using a Windows IIS webserver this should do the trick.

    Using IIS 7.x with the MS URL Rewriter installed (http://www.iis.net/downloads/microsoft/url-rewrite)
    And PHP for your site running in FastCGI mode.

    Then you need your web.config file in your site's home directory to contain these details:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
          <rules><rule name="Main Rule" stopProcessing="true"><match url=".*"/><conditions logicalGrouping="MatchAll"><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/></conditions><action type="Rewrite" url="index.php"/></rule>
    				<rule name="wordpress" patternSyntax="Wildcard">
    					<match url="*"/>
    						<conditions>
    							<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
    							<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
    						</conditions>
    					<action type="Rewrite" url="index.php"/>
    				</rule></rules>
        </rewrite>
    		<httpErrors errorMode="Detailed" />
        </system.webServer>
    </configuration>

    If you are still using IIS6 then a similar solution will work but you would need a Third Pary URL rewriting ISAPI module for the functionality usually given with Apache/ModRewrite in .htaccess

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic