• 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?

John L.

Well-known member
#1
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?
 

Chris D

XenForo developer
Staff member
#2
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:
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.

Well-known member
#3
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:
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.
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.
 

Chris D

XenForo developer
Staff member
#4
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.