0

YML Canvas View

Our product architecture may require to run certain way.

How can I do redirect from Canvas page?

CODE
<?php
header( 'Location: http://gibson.mediamachines.com/yahoo/redirect.php);
?>


Error Message:
QUOTE
Oops. The app couldn't load for some reason. If you reload the page it might work. If you see this error more than once, please let us know.
Debug Messages:

Internal fetch error [url=http://gibson.mediamachines.com/yahoo/redirect.php][reason=[http_code=302]]

by
2 Replies
  • QUOTE (vivaty.menlopark @ Dec 1 2008, 12:46 PM) <{POST_SNAPBACK}>
    Our product architecture may require to run certain way.

    How can I do redirect from Canvas page?

    CODE
    <?php
    header( 'Location: http://gibson.mediamachines.com/yahoo/redirect.php);
    ?>


    Error Message:


    Is redirect.php on the same host? If so, consider using require instead. Otherwise you'll need to proxy the request to redirect.php yourself.
    0
  • Your suggestion won't work.

    I tried this and won't work:
    1) create redirect.php
    <?php
    require("redirect_include.php");
    ?>
    2) create redirect_include.php
    <?php
    header( 'Location: http://www.xyz.com' ) ;
    ?>

    How can I redirect to another page and stay on the same browser?
    0

Recent Posts

in YAP