I'm using Sitefinity (6.1), ASP.Net and the 4.0 framework.
We have a sitefinty website already hosted on IIS as a website. For licencing reasons we want to add a new site, also made with Sitefinity to the same website as a subfolder.
Lets say website 1 is Foo and the new website is called Bar.
The problem is when I get or use the relative path form Bar, I really get the path from Foo.
So atm I am using a hack to get urls to work. I use the relative path and then insert Bar man ually.
e.g. page is called home. ~/home resolves to http://www.Foo.com/home. when it should be http://www.Foo.com/Bar/home, so I just add the Bar in manually atm.
There must be some way in ASP.Net or Sitefinity or MVC to say this is my page, give me the full url.
Has anyone has experence resolving urls for websites in another website?