Hi
I'm using the search template to search for documents. Unfortunately the links that are being returned are always incorrect.
Here's the search control i'm using:
And here's the entries in my web.config:
So, if upload a file (e.g. Test.txt) in "FOI Documents" in EPiServer, the PageSearch returns the following PageLinkURL: http://mysite.com/templates/FOI%20Documents/Test.txt/Test.txt
There are two things that are wrong with this: the presence of "/templates" and the duplication of the name of the file. What i want is: http://mysite.com/FOI%20Documents/Test.txt
Also, curiously, if I change the "UnifiedSearchLocations" value to read:
UnifiedSearchLocations="/Documents, /FOI Documents">
then the url reads http://mysite.com/FOI%20Documents/Test.txt/Test.txt
which is better, but not quite there. Interestingly the url is fine if i upload the same file to the "Documents" area instead.
Any ideas?
(I am using EPiServer 4.51 BTW).
Thanks
Tak
A quick note on this as I managed to get to the bottom of the problem.
It turns out it was a bug in EPiServer 4.51. Applying hotfix 5 seems to have solved it.
Tak
UnifiedSearchLocations="/Documents, /FOI Documents">
then the url reads http://mysite.com/FOI%20Documents/Test.txt/Test.txt which is better, but not quite there. Interestingly the url is fine if i upload the same file to the "Documents" area instead. Any ideas? (I am using EPiServer 4.51 BTW). Thanks Tak