Need help on Wordpress PHP Search Code

Discussion in 'PHP' started by davcheong, Jun 5, 2006.

  1. #1
    Anyone can help me on writing a code for Wordpress or PHP, which is, if someone went into your website, and there is a search available, most of the time, some may want to search for specific words or so, but for some they go and search for a website which start like "http://xxx.xxx.com".

    How can i filter out or preventing them from searching a sex related website? Or is this neccessary?

    Thanks in Advance.
     
    davcheong, Jun 5, 2006 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,826
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #2
    If they're searching your content then you can manipulate the filter - or better still not have the adult content on your site.

    If you're using an external tool like Google then you probably can't affect much.

    Rollyo.com let you have custom searches derived from your handpicked collection of sites (which can include this forum, for instance and therefore have alot of scope). Maybe this is what you're after.
     
    sarahk, Jun 5, 2006 IP
  3. davcheong

    davcheong Well-Known Member

    Messages:
    1,148
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Thanks. Helpful tips and guide. BTW SarahK, its been awhile that haven't chat with you. Thanks again for the information. Looking on the website that you provide, and about google, i am sad that i am not using otherwise, i would have avoid this kind of issue. :) Cheers and happy day for you. +1 to you too. :)
     
    davcheong, Jun 5, 2006 IP