Support » Plugin: Maintenance Redirect » works only with www

  • Hey. I thought everything was working the whole time. But now I notice that the redirect only works when the page is accessed with If I call only, everyone comes in.
    Any idea? I’m redirecting to a PHP script by itself that then redirects the visitors.
    The real URL of the WordPress site is then in the future also only

Viewing 1 replies (of 1 total)
  • Plugin Author Peter Hardy-vanDoorn


    Hi @cjk2

    The redirection only runs when the server is asked to deliver the page – as far as I understand it, most servers redirect from to (or vice versa) prior to this via either your DNS server or your web server, so it shouldn’t make any difference.

    The only thing I can think of off the top of my head is that your hosting company is employing some form of server-side caching which is misconfigured – ie, it’s caching the non-www address but not the www address.

    In the first instance, I would suggest that you investigate that and, if possible, disable any server-side caching so that you can test this hypothesis.

    Also, you should ask your hosting company to check that the www to non-www redirection is working properly.

    Let me know how you get on.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.