Redirected link

Discussion in 'Search Engine Optimization' started by Omzy, Jan 19, 2009.

  1. #1
    In my file search.php, I have got it programmed so that it reads the value of $_GET['category']. It then matches that value with an array called $cats, if the value exists in $cats it displays some data on the page. If it does not exist, it redirects the user to another page (directory.php), using the php header() function.

    Now lets say I have a URL as such:

    /search.php?category=hotels

    This got indexed by Google but recently I changed the category 'hotels' to 'uk_hotels'.

    So now if anybody clicks the indexed link in Google, it redirects the user to 'directory.php'.

    Does anybody know how this change will affect the Google link when it does a refresh of the index, i.e will it display the title of the page it is redirecting to or will it just leave everything as it is?
     
    Omzy, Jan 19, 2009 IP