YAFLogo

billd
  • billd
  • 56.8% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 3.17
11 months ago
Hello YAFers

I have installed YAF into a subdirectory of an existing web site, the forum is at:

/Community

My question is - is it possible to use YAF URL rewriting but only under the /Community subdirectory by modifying the URLrewriter.config file?

My problem is that the existing site uses a different URL rewriting system (Helicon Ape) and the two systems are causing conflicts.

Thanks,

BillD

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 months ago
Yes it is possible, take a look at the sample application where the forum is in the subfolder "forum"

https://github.com/YAFNET/YAF.SampleWebApplication/blob/master/YAF.SampleWebApplication/app.config 

approot and fileroot need to be modified in the appsettings. and the urlrewriter.config

https://github.com/YAFNET/YAF.SampleWebApplication/blob/master/YAF.SampleWebApplication/UrlRewriter.config 

billd
  • billd
  • 56.8% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 3.17
11 months ago
Thank you, with the help of the example you linked I now have URL Rewriting working correctly.

Thanks,

BillD