WordPress.org

Support

redirect url

  • aatif_ahmed05
    Member

    @aatif_ahmed05

    i have a index.php and it contain
    <?
    header(‘Location: search.php’.( isset($_REQUEST[‘q’]) ? ‘?q=’.urlencode($_REQUEST[”]): ”));
    ?>
    when i open my site . it redirect me to mysite.com/search.php but i want mysite.com/search.php?q=mobile . . This is search engine type query . please help me ..

  • The topic ‘redirect url’ is closed to new replies.