ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

SimpleSearch and MSM problem

August 11, 2014 2:33pm

Subscribe [2]
  • #1 / Aug 11, 2014 2:33pm

    Jeremy S.

    353 posts

    I am having an odd issue with SimpleSearch and MSM that I cannot resolve. I have 2 other sites running on MSM and just setup a third. I copied the SimpleSearch code I have used for the other 2 sites, updated the channel name and the results path, but I get nothing. I actually just get a 404 and the site url has the site label appended:  domain.com/site_label

    If I input the URL to the results template in a browser, it is there. Does anyone see anything here or have had a similar issue.:

    {exp:search:simple_form
        channel="jnrl_archives"
        search_in="everywhere"
        result_page="search/results"
        status="open"}
    <fieldset>
      <label for="search">Search</label>
      <input type="search" name="keywords" id="search-submit" placeholder="SEARCH…" />
      <input type="submit" value="Submit" />
    </fieldset>
    {/exp:search:simple_form}

    The results template for testing is barebones:

    {exp:search:search_results}
     <ul>
        <li>{title}</li>
     </ul>
    {/exp:search:search_results}

     

  • #2 / Aug 13, 2014 5:24pm

    Boyink!

    5011 posts

    The first thing I’d try is adding the site variable.

    I also wonder if htaccess is in there too - if you are removing index.php?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases