This project is read-only.

Url tweak

Aug 24, 2008 at 10:05 AM

would it be possible to have N2 link to a ContentItem instead of linking it to (ot better yet, link it to both)?
What would be the best path to folllow?

Aug 24, 2008 at 4:37 PM
Try configuring <n2><host><web extension="/"

Aug 25, 2008 at 9:05 AM
That was what I was looking for, thanks!
Aug 25, 2008 at 9:50 AM
A bit strange, on my localhost it works, on my webserver it does not...I get a 404 there...

any thoughts on that?
Aug 25, 2008 at 4:56 PM
Sounds like you need wildcard mappings. What version of IIS is the server equipped with?
Aug 25, 2008 at 4:59 PM
it's a hosted IIS 6 server (W2K3), but I do not have console access.
Aug 25, 2008 at 6:12 PM
Oh, I think your best option is to ask someone who can to enable wilcard mappings.
Aug 26, 2008 at 10:54 AM
I am (again) trying to make this work.

I have such a structure:

 |- My Summary
 |- My Profile

I want Users to move to My Summary immediately. Is the only way to accomplish this a redirect? Adding extension="/" forces all my extensions to be / instead of aspx but that's not what I want.
Aug 26, 2008 at 3:57 PM
Ok, great news (for me).

I have created a custom SiteMapProvider (which was already able of merging the dynamic content sitemap with a fixed one (for administrators for example)). This SiteMapProvider recognizes redirects (by comparing the path and the url properties) and creates a unique url for the redirect in the sitemap (but the redirect will still work). With this sitemap provider, the following is possible:

News (real page)
|- Current
|- Archive
Users (redirect to My Summary)
|- My Summary
|- My Profile

When I click on Users now, it will go directly to My Summary without messing up my submenus :)