I was hoping to use a redirect tag in the maintenance mode message in order to redirect to a temporary page -
{redirect_url to='temporary.html'}
Doesnt seem to work though - anyone know how I can achieve this?
Using tags in maintenance mode site down message
-
- Forum Members
- Posts: 192
- Joined: Mon Nov 26, 2018 3:09 pm
Re: Using tags in maintenance mode site down message
It only worked for me with by adding a forced refresh to the page, so perhaps it's a bit buggy when used in this context.
One option could be to just put a meta refresh as your sitedown message:
Ideally you should make it a full html template and put that in the <head> but it may work fine with just that. Test on multiple browsers/devices.
One option could be to just put a meta refresh as your sitedown message:
Code: Select all
<meta http-equiv="refresh" content="0;URL='http://newsite.com/'" />
Not getting the answer you need? CMSMS support options
Re: Using tags in maintenance mode site down message
You can add the meta refresh line to the "Page Specific Metadata" box of your error 404 page.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Forum Members
- Posts: 192
- Joined: Mon Nov 26, 2018 3:09 pm
Re: Using tags in maintenance mode site down message
thanks guys. I ended up using a bit of javascript straight into the text window - which I assumed wouldnt work because the smarty tag didnt work, but it did, so does the job it needs to!
Thanks!
Thanks!