We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Search Results Link

Development and Programming

motorstormer's avatar
motorstormer
17 posts
11 years ago
motorstormer's avatar motorstormer

I have a search results page and I use the following for the link:

<td width="30%" valign="top"><b><a href="http://{auto_path}">{title}</a></b></td>

However, when the search results did not display the channel, just the URL title.

So I changed all the channel Search URL settings to include the channel.

http://www.mysite/com/<channel>

Now it works, but if it is the root entry of the channel, it gets listed twice as the URL

http://www.mysite.com/<channel>/<channel>

Which results in a 404 error.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.