Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Smart search box did not work on extensionless domain url View modes: 
User avatar
Member
Member
bukanbaka2-hotmail - 2/11/2012 2:22:10 AM
   
Smart search box did not work on extensionless domain url
Hi guys,
I have unusual issue with the Smart search box.
I placed this smart search box on the master template which all pages use it.

I browse to domain, e.g. http://mysite/
then, key in a string, e.g. computer
and then click on the search button / press Enter key,
I got redirected back to http://mysite/

However, if I browse to domain/page, e.g. http://mysite/default.aspx
then, key in a string, e.g. computer
and then click on the search button / press Enter key,
I got redirected back to http://mysite/searchpage.aspx?searchtext=computer&searchmode=anyword

So, what is wrong with the first scenario when the second scenario requires me to browse to a certain page in order to able to search properly.

Any idea?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/13/2012 2:21:16 AM
   
RE:Smart search box did not work on extensionless domain url
Hi,

What are the URLs settings set in your CMS in Site Manager -> Settings -> URLs and SEO?
Have you configured your IIS and web.config to handle these URLs?

Please, follow this guide and add the new parameter to the web.config file so the requests will be handled correctly. I am pretty sure it will help.

Best regards,
Juraj Ondrus

User avatar
Member
Member
bukanbaka2-hotmail - 2/14/2012 7:31:15 PM
   
RE:Smart search box did not work on extensionless domain url
Hi,

I referred to the link provided by you and I edited my web.config with the below as per the Required Configuration.


<httpErrors existingResponse="PassThrough" />
<modules runAllManagedModulesForAllRequests="true">


Then, I tried out the search again on the first link I mentioned (http://mysite/) and it worked.

Thank you for the support and guidance.