Hi Tracey, there is perhaps an alternative approach of using REL canonical in your pages so that all of the search results pages are treated as one. In your example having <link rel="canonical" href="/search.aspx">
should (unless google have changed everything. again.) start to reduce the duplicate records in GA. This has some reasonable insight: Specify your canonical
To change the case anyway, you could modify the CMSWebParts_SmartSearch_SearchBox.Search
method (found in CMSWebParts\SmartSearch
) to convert the search term to lower case so that:
url = URLHelper.UpdateParameterInUrl(url, "searchtext", HttpUtility.UrlEncode(txtWord.Text));
becomes
url = URLHelper.UpdateParameterInUrl(url, "searchtext", HttpUtility.UrlEncode(txtWord.Text.ToLowerInvariant()));