how to avoid search string "?" to index in google

Discussion in 'Google' started by tipoo, Apr 28, 2011.

  1. #1
    i am seeing "?" string is getting indexed in Google search from my site. i am using wordpress. while checking webmaster quality guidelines there are suggestion to avoid/reduce this type of strings via HTACCESS file. but how?

    some of my site search pages are in sesults like

    domain.com/?=key+word

    pleas guide.
     
    tipoo, Apr 28, 2011 IP
  2. programmersbank

    programmersbank Peon

    Messages:
    184
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If Your pages are indexed in google you dont need to change

    Otherwise If you would like to change and you are using Wordpress, go to the admin panel and Use Permalinks
    codex.wordpress.org/Using_Permalinks
     
    programmersbank, Apr 28, 2011 IP
  3. tipoo

    tipoo Peon

    Messages:
    210
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for your reply, but i am not asking to reset my permalinks.
    i am looking to block crawler access to search pages like domain.com/s?=keyword
     
    tipoo, Apr 28, 2011 IP
  4. intuziast

    intuziast Member

    Messages:
    140
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #4
    Make a robots.txt file in the root of the site with such content

    User-agent: *
    Disallow: /s?=keyword
     
    intuziast, Apr 28, 2011 IP
  5. tipoo

    tipoo Peon

    Messages:
    210
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    there are about 100s of urls with "?" string. not only one.
     
    tipoo, Apr 28, 2011 IP
  6. saqib889

    saqib889 Peon

    Messages:
    1,291
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    which permalink structure are you using?
     
    saqib889, Apr 28, 2011 IP
  7. tipoo

    tipoo Peon

    Messages:
    210
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    /month/date/post
     
    tipoo, Apr 29, 2011 IP
  8. Alicia V

    Alicia V Guest

    Messages:
    52
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think there is a wordpress plugin or setting you can use to get rid of the ? in the URLs. try searching for it.
     
    Alicia V, May 1, 2011 IP