how to change wiki location from root ?

Aug 14, 2009 at 9:04 AM


thanks for your wiki ;-) and sorry for my english

i have a site and i want to use this wiki for its! but this sample that you use is run on root folder of a site.i want to use it for example for this location "/wiki/"

how can i change this app to use it for this condition?!!!


Aug 14, 2009 at 12:46 PM

Hi princedotnet,

The sample uses ASP.NET MVC, which will allow you to simply change the routing in Global.asax.cs. However, the sample app is just that :) it's not production ready, and I don't recommend using it as-is.


Aug 14, 2009 at 12:51 PM

Also, it might be worth looking at the latest changeset (post 1.1 release). Someone else requested an ASP.NET WebForms, which I've started initial work on in the /WebForms folder.

Aug 15, 2009 at 9:19 AM

tnx matthaw

the sample is set for the root of site!

can you explain more for me to change the global.asax and MVC view folder  and set for /wiki/?

thank u

Aug 17, 2009 at 3:18 PM

This isn't tested, but give this a shot. In the global.asax.cs, everywhere you see {slug} change it to wiki/{slug}