•  lzoumas
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter

I need to remove the yaf_ before each url in the forum. From what I can see in the source code I change this line in URLBuilderRewrite.cs...

newURL = before + "yaf_";

... to...

newURL = before;

... and change this line ...

newURL += "_" + description;

... to...

newURL += "/" + description;

... so /yaf_topics1_Test-Forum.aspx will become /topics1/Test-Forum.aspx

which gives me the urls I want. When I try to modify the Rewrite rules, some work and some do not. Also it appears none of the forms on the new pages are submitting properly anywhere. Is there something I am missing? What is the best way to achieve this?

thanks in advance!


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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved