YAFLogo

billd
  • billd
  • 56.8% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 3.17
4 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: 3.0.3
4 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
4 months ago
Thank you, with the help of the example you linked I now have URL Rewriting working correctly.

Thanks,
BillD
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button