21294 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 564 Views |
-
header location in .ss template

28 May 2010 at 6:55am
Is it possible to put something that does this at the top of a .ss template file?
header('Location: http://www.example.com/',TRUE,301);
-
Re: header location in .ss template

29 May 2010 at 4:12pm
Don't think so (since that code is PHP) you could use the HTML meta refresh
<meta http-equiv="REFRESH" content="0; url=http://www.yourdomain.com/index.html">
Otherwise you might need be create a custom function for it. Like $RedirectUser
function RedirectUser() {
header('Location: http://www.example.com/',TRUE,301);
}If that works.
| 564 Views | ||
|
Page:
1
|
Go to Top |


