SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anonymous users are having issues with SharePoint 2010 search results where a subsite's welcome page is being returned in the results with a URL of - '' instead of '' OR ''

When the user clicks on the '' link they are being redirected to the login page.

The user has no issue browsing to these pages using the navigation on the site, or just appending '/default.aspx' or by removing '/pages' from the URL - '' returned in the results.

The viewformpageslockdown feature has been enabled on the site and anoymous access has been granted to the whole site.

Any ideas how to fix this would be appreciated.

share|improve this question
Are you using a publishing portal? On team sites OSSSearchResults.aspx isn't designed for anonymous access, Search/Results.aspx is. Your site basically needs to be a publishing site for it to work. – Hugh Wood Dec 3 '12 at 16:13
Yes, it is a publishing site. Search is returning results but when an anonymous user clicks on a result item for a subsite welcome page with the url, we get redirected to the login page. I've added an IIS rewrite rule for the anonymous site to redirect the URL to and it seems to work. Just wondering if this is the correct approach? – sp21 Dec 4 '12 at 8:17
Change the Indexing ASPX Page Content setting to "Always index all Webparts on this site" (In Site Settings, Search and Offline Availability I think), clear your indexes and do a full crawl, that should be your solution. You shouldn't need to redirect. – Hugh Wood Dec 4 '12 at 8:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.