Search results page not loading (2 posts)

  1. stuffwelike
    Posted 3 years ago #

    I have WordPress and Buddypress. When I have WordPress use the Buddypress Activity page as the front page, I can no longer see search results for WordPress posts. When I search the page refreshes and does not give me the requested search results.

    I have set both my Front page and Post page to different pages.

    I've tried creating a search results page and have it use a template.

    I think the problem could be that the search bar doesn't know the new search results page to send the user to display the results. This is the search code:

    <div class="bigsearch">                    
                          <div class="searchr">            
                            <form id="searchform" action="<?php echo get_option('home') ?>">            
                              <input type="text" name="s" value="Search Reviews & News ...." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
                              <input type="image" src="<?php bloginfo('template_url'); ?>/images/space.gif" />            

    Any thoughts?

  2. stuffwelike
    Posted 3 years ago #

    More specific info to see if anyone can come up with a solution -

    I have WordPress and Buddypress installed.

    Under Settings - Reading - Front page displays - A state page - Front page, I selected the Activity page from Buddypress to be the new homepage. Then I selected Blog for Posts page.

    Now when I try to Search on the website for a blog post that I wrote on WordPress, I get no search results. The page goes to the new Activity homepage and does not return any results. You can try searching for yourself at http://www.stuffwelike.com/blog

    I've tried to create a new page for search results at http://www.stuffwelike.com/searchresults/ I simply cannot get the search form to have the user search inquiry display on this page instead of refresh to the homepage.

Topic Closed

This topic has been closed to new replies.

About this Topic