Posted
on Nov 7, 2011
(permalink)
Good morning. I am currently managing a Sitefinity 3.7 site which was recently transitioned from a PHP codebase. As such, there are a large number of permanent redirects in the web.config file. Site search is also enabled via Sitefinity. The problem I'm having is this: the rewrite rules are somehow applying to the search results as well. For example, the following rewrite rule is in-place:
<rule mode="PermanentRedirect">
<url>store/?$</url>
<rewrite>/store-locator.aspx</rewrite>
</rule>
If I go to the site search and search for the keyword "store," the returned result is "/store-locator.aspx." This is obviously very undesirable and unexpected behavior. If anyone has experienced this or has a solution, please let me know. If you would like more information, please ask. Thank you.