(#(header:Location: [root]/admin|false|301)#)
In latest aiki you can edit widgets that have header. If you have
version of Aiki that don't allow for header in Admin Panel you can use
(script( $aiki->utils->header("HTTP/1.1 301 Moved Permanently",); )script)
(script( $aiki->utils->header("Location: [root]/admin",); )script)
and utils->header is just wrapper of header php function.
On Mon, 12 Dec 2011 12:06:04 -0600
"[email protected]" <[email protected]> wrote:
> There must be a better way to redirect urls in aiki. Bassel or anyone
> else have a better way than a stupid html redirect?
>
> http://www.aikiframework.org/wiki/Improve_Your_AikiFu#Redirect_a_url
>
>
> Like this:
>
> <meta http-equiv="refresh" content="0;url=[root]/wiki/">
>
--
Jakub Jankiewicz
twitter: @jcubic
www: http://jcubic.pl
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp