2

I need some help. Thanks in advance.

I got the Open source code of YAF Forum (yetanotherforum.net)

I integrated it in my website application.

I have a small problem when I debug on localhost. I'll try to be clear.

The link in the forums all point to

~/Yaf/linkurl.aspx 

(linkurl is the page name) But they only work if I remove the /Yaf/. So I want all the links to point only to

~/linkurl.aspx

Where can I change that? is that in a config file or someplace else?

I hope I was clear. Thanks in advance

Y2theZ
  • 10,162
  • 38
  • 131
  • 200

2 Answers2

1

I solved this issue by adding

<add key="YAF.FileRoot" value="~/"/>

To the app.config file

Y2theZ
  • 10,162
  • 38
  • 131
  • 200
0

Change YAF.BaseUrl key's value from "~/yaf/" to "~/"

Embedding YAF inside an existing asp.net website

rick schott
  • 21,012
  • 5
  • 52
  • 81
  • Thank you for your responce. But do you have an idea where to find it? I didn't find it anywhere. I also tried adding it as a key in app.config but still the same problem. – Y2theZ Oct 18 '11 at 23:49