String Replacement for Search

Discussion in 'PHP' started by verticalretreat, May 30, 2010.

  1. #1
    Hi

    My problem is I have search on my site. However when you search any multiple term words (2 words or more) I encounter a problem.

    Example

    Search term: Love Is

    The URL Bar would look like " http://www.mysite.com/search.php?q=Love+Is ---- notice it put a + sign between the two words

    But when when the page appear in the google engine it appears as
    http://www.mysite.com/search.php?q=love Is ---- there is no + it's just an empty space.


    How can I fix this problem so I dont encounter a duplicate content penalty?

    But pages go to the same page the one with the + and the one with a space.
     
    verticalretreat, May 30, 2010 IP
  2. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #2
    No problem with this issue and Google
    you can leave a issue since it redirects to your prescribed page! :)
     
    roopajyothi, May 31, 2010 IP