• Resolved dwcouch

    (@dwcouch)


    I’m using an uptime monitor to keep tabs on all of my sites. Two of them are using this plugin – good work btw – Both sites are reporting a 503 which is also used by Uptime Robot as an indicator a site is down.

    Can you add a feature to choose which error is returned? When activated the plugin returns a 503 Error.

    For sites using this plugin as a holding page, a 204 Error would seem more appropriate.

    Others may wish to use this plugin for similar purposes and other error codes may be appropriate for them.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @dwcouch,

    I have to admit it is a good idea and I’ll try to include this in the next release. Until then… you can change the error code using wpmm_status_code hook.

    Thanks.

    Thread Starter dwcouch

    (@dwcouch)

    Thank you for the response, I searched and found the following snippet you provided to another user via GIT on August 8th. I’m adding it here should anyone else find it useful.

    add_filter('wpmm_status_code', 'custom_wpmm_status_code', 10, 1);
    function custom_wpmm_status_code($code){
        return 200;
    }

    Thanks again! Good work!
    ~D

    You’re welcome!

    Rubbish

    (@iwdesignandprint)

    Can someone pLEASE tell me how to unsubscribe as I am getting emails from all sorts of forums that I have never signed up to?

    I have been trying to unsubscribe using the link on the left of the page but it does not work.

    Thanks

    Hello @iwdesignandprint,

    Unsubscribe from? Please give me more details because I don’t really understand.

    Thanks.

    LE: if you are talking about www.ads-software.com, I think you should ask them. Maybe there is a bug…
    See: https://www.ads-software.com/support/topic/wordpress-org-email-notifications-taking-over-my-inbox/

    • This reply was modified 8 years, 1 month ago by George J.
    • This reply was modified 8 years, 1 month ago by George J.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Alternatives to 503 Error.’ is closed to new replies.