File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 ">
55 < title > Greater Toronto Multiple Alarm Association</ title >
66 < script >
7- // ====================================================================================================================
8- // This text is to simply ensure the 404.html file is larger than 512 bytes, otherwise Internet Explorer will ignore it.
9- // Thank you Internet Exploder for requiring such a fantastic workaround in order to work properly
10- // ====================================================================================================================
11- sessionStorage . redirect = location . href ;
7+ // Redirect all 404s to index.html, preserving the path
8+ var redirectTo = '/index.html' + window . location . search + window . location . hash ;
9+ window . location . replace ( redirectTo ) ;
1210 </ script >
13- < meta http-equiv ="refresh " content ="0;URL='/' ">
1411 </ head >
12+
13+ < body >
14+ < h1 > Redirecting...</ h1 >
15+ </ body >
1516</ html >
You can’t perform that action at this time.
0 commit comments