WordPress.org

Ready to get started?Download WordPress

Forums

redirect url (1 post)

  1. aatif_ahmed05
    Member
    Posted 2 years ago #

    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 ..

Topic Closed

This topic has been closed to new replies.

About this Topic