Title: eagerness's Replies | WordPress.org

---

# eagerness

  [  ](https://wordpress.org/support/users/eagerness/)

 *   [Profile](https://wordpress.org/support/users/eagerness/)
 *   [Topics Started](https://wordpress.org/support/users/eagerness/topics/)
 *   [Replies Created](https://wordpress.org/support/users/eagerness/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/eagerness/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/eagerness/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/eagerness/engagements/)
 *   [Favorites](https://wordpress.org/support/users/eagerness/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Flutter: WordPress CMS Plugin] Image upload not working](https://wordpress.org/support/topic/plugin-flutter-wordpress-cms-plugin-image-upload-not-working/)
 *  [eagerness](https://wordpress.org/support/users/eagerness/)
 * (@eagerness)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-flutter-wordpress-cms-plugin-image-upload-not-working/#post-1113431)
 * I got the same problems. Thought it may be because the ordinary flash uploader
   wasnt working. Fixed that, still no go.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Relevanssi] Limit search to certain pages / subpages ?](https://wordpress.org/support/topic/plugin-relevanssi-limit-search-to-certain-pages-subpages/)
 *  [eagerness](https://wordpress.org/support/users/eagerness/)
 * (@eagerness)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-relevanssi-limit-search-to-certain-pages-subpages/#post-1191646)
 * Hah 🙂 That’s OK, chuck it over 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Relevanssi] Limit search to certain pages / subpages ?](https://wordpress.org/support/topic/plugin-relevanssi-limit-search-to-certain-pages-subpages/)
 *  [eagerness](https://wordpress.org/support/users/eagerness/)
 * (@eagerness)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-relevanssi-limit-search-to-certain-pages-subpages/#post-1191644)
 * This is also the exact thing I’m looking for! 🙂 Is it possible for another copy
   to post (at) terjeandersen (dot) net ?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [is_template tag](https://wordpress.org/support/topic/help-with-a-is_template-tag/)
 *  Thread Starter [eagerness](https://wordpress.org/support/users/eagerness/)
 * (@eagerness)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/help-with-a-is_template-tag/#post-1286719)
 * Thanks for a quick reply 🙂
 * However, I realise that this doesent solve my problem entirely.
 * I have three domains connected to my wordpress, each serving different content
   and design/layout depending on which URL you visit. This works fine, until i 
   for example visit domain1.net and want to use the wordpress search. The search
   result brings up pages and posts linked to the other two domains.
 * I took a peak at this tutorial: [http://web-kreation.com/index.php/wordpress/wordpress-exclude-pages-from-search-results/](http://web-kreation.com/index.php/wordpress/wordpress-exclude-pages-from-search-results/)–
   This guy chooses which categories that are going to be included in the search.
 * Based on that, i guess my code would go something in the direction of this:
 *     ```
       function mySearchPostsFilter($query) {
       if (strstr($_SERVER['HTTP_HOST'], "domain1.net") ) and ($query->is_search) {
       $query->set (pages with the domain1-template and category 1,2,3)
       } elseif (strstr($_SERVER['HTTP_HOST'], "domain2.net") ) and ($query->is_search) {
       $query->set (pages with the domain2-template and category 3,4,5)
       } elseif (strstr($_SERVER['HTTP_HOST'], "domain3.net") ) and ($query->is_search) {
       $query->set (pages with the domain2-template and category 4,5,6)
       }
       return $query;
       }
       add_filter('pre_get_posts','mySearchPostsFilter');
       ```
   
 * (If the domain im using the search with is this, then include this page template
   and these categories)
 * Again, thanks! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Different front page with Domain Mirror or Domain Theme](https://wordpress.org/support/topic/different-front-page-with-domain-mirror-or-domain-theme/)
 *  [eagerness](https://wordpress.org/support/users/eagerness/)
 * (@eagerness)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/different-front-page-with-domain-mirror-or-domain-theme/#post-1237649)
 * Hello again! I should have edited my previous reply, but im not able to 🙂
    After
   pulling my hair for a few hours Ive come up with a solution:
 * Navigate to index.php in your templates directory edit it (or make a home.php
   and edit that one)
 * In the file, put in:
    <?php if (strstr($_SERVER[‘HTTP_HOST’], “domain”)) { query_posts(‘
   page_id=4233’); } ?>
 * If the check is true, a certain page id is presented, if not its all standard.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Different front page with Domain Mirror or Domain Theme](https://wordpress.org/support/topic/different-front-page-with-domain-mirror-or-domain-theme/)
 *  [eagerness](https://wordpress.org/support/users/eagerness/)
 * (@eagerness)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/different-front-page-with-domain-mirror-or-domain-theme/#post-1237648)
 * Im bumping this one as i have the same problem. Anybody?

Viewing 6 replies - 1 through 6 (of 6 total)