21 Jun 2011
24 Jun 2011
Link to this post
Checking our web.config, I found that, as I expected, the urlRewriteFormat was set to [Title].aspx. This gives me the following URL: site.com/news/latest-news/title-of-the-item.aspx. Which makes sense as I'm trying to open it from the latest-news page.
I've tried changing the urlRewriteFormat to "../[Title].aspx", which does give the correct URL: site.com/news/title-of-the-item.aspx. But then of course I get the 'resource cannot be found' error in the site. I should have known that wouldn't work..
I could exclude the all-news-items links from the search engines using robots.txt (Disallow: */all-news-items would work) but ideally I don't want anything in the URL other than site.com/news/title-of-the-item.aspx so I think that urlRewriting is the option to research here.
Unfortunately I don't have any urlRewriting experience with Sitefinity, so if you have some links or pointers to get me going solving this problem, they would be much appreciated. Thanks for your help!