This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
fabio64425
I need to create a page with only this code inside:
header(Location: https://octobercms.com);
I put the code in the code tab of the page but when I run I get an error.
https://pasteboard.co/JX9Tpsy.png
https://pasteboard.co/JX9TzTC.png
How to solve? TY
daftspunky
Put this code in
public function onStart()
{
return Redirect::to('https://octobercms.com');
}
Hope this helps
1-2 of 2