1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect to Page When Board Inactive?

Discussion in 'XenForo Questions and Support' started by John L., Jan 4, 2016.

  1. John L.

    John L. Well-Known Member

    Is there a way to set it so that if the board is set to inactive that instead of showing the inactive board message, it redirects to a particular URL instead? In my case I have a splash page I want people to see while I do my magic and work on the forum. Any way to do this currently without creating an addon of some sort and if it does require an addon, is there one available?
  2. Chris D

    Chris D XenForo Developer Staff Member

    The only real way to do it without custom development or handling it at the server level, is the board closed message supports HTML so you could paste in this HTML:
    <meta http-equiv="refresh" content="0; url=http://example.com/">
    Handling it at the server level is probably more appropriate and elegant if possible as you can use the appropriate HTTP response code to signal to any bots that the change is only temporary.
    John L. likes this.
  3. John L.

    John L. Well-Known Member

    Thanks Chris!

    Is there a difference between handling at the server level and custom development? Or is it implied that it's one and the same. Just curious if there is a way I could do this via a .htaccess file or something similar.
  4. Chris D

    Chris D XenForo Developer Staff Member

    To be honest I don't think development is necessary. I would just do it at the server if possible. htaccess seems likely a good solution.

Share This Page