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.

Search auto_link not working

August 17, 2010 1:44pm

Subscribe [2]
  • #1 / Aug 17, 2010 1:44pm

    terryoleary1981

    5 posts

    I’m just building my search results page and my search results are coming through fine but the hyperlinks done work. I must be missing something but not sure what. This is my current results code

    Searching for: <b>{exp:search:keywords}</b> found {exp:search:total_results} results.
    
    {exp:search:search_results}
    
    <dl>
    <dt><a href="http://{auto_path}">{title}</a></dt>
    <dd>{excerpt}</dd>
    </dl>
    
    {/exp:search:search_results}
    
    {if paginate}
    
    <div class='paginate'>
    <span class='pagecount'>{page_count}</span>  {paginate}
    </div>
    
    {/if}

    But the links I get aren’t working, the hyperlinks are simply my domain name followed by the channel url eg. http://www.somedomain.com/index.php/financial_calendar which doesnt work, the correct url should be http://www.somedomain.com/index.php/investor_centre/shareholder_information/financial_calendar/

    What am I missing?

  • #2 / Aug 17, 2010 4:22pm

    Ingmar

    29245 posts

    Have you configured the Search results URL correctly? It’s a per-channel setting.

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

ExpressionEngine News!

#eecms, #events, #releases