Searching through subdomains

Discussion in 'PHP' started by dotstar_domains, May 2, 2013.

  1. #1
    Hi all,

    I'm gonna develop a (Wordpress) website that will work as a portal page. I need to have a search field on it that also searches through all subdomains too. The subdomains will consist of HTML and/or PHP pages (mostly Wordpress mini sites). There will also be subdirectories.
    Thanks for the input :)
     
    dotstar_domains, May 2, 2013 IP
  2. darkvisje

    darkvisje Well-Known Member

    Messages:
    231
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    120
    #2
    Is there for every subdomain a different folder on your server? or is there maybe a database record for every subdomain?
     
    darkvisje, May 2, 2013 IP
  3. dotstar_domains

    dotstar_domains Greenhorn

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Well, the plan is:

    town1.domain.com/folder1
    town1.domain.com/folder2
    town2.domain.com/folder1
    etc.

    I like to have a search field on www.domain.com (domain.com) and on all subdomains.
    The resultpage should show me results from all sub's.

    If every subdomain is a Wordpress install, a plugin like "global site search" might help (didn't test this) but I will have also HTML's on the various subdomains.

    Thanks..
    Bart
     
    dotstar_domains, May 2, 2013 IP