Posted by: johnk - Tuesday, 28 May 2013 03:03:18 |
---|
The default URL rewriter rules works correctly if app.config file has the default value
|
Posted by: johnk - Tuesday, 28 May 2013 03:11:51 |
---|
Actually removing "yaf_" from app.config and urlrewriter.config (as mentioned above) broke a LOT of pages. The pages which were broken are in header of the page (my profile, my inbox, my album) and links in main page (new topic, moderate, post reply, etc) I tried looking inside urlbuilderrewrite.cs file and could not find "yaf_" there. [b]Is there a way to remove "yaf_" from URLs without breaking the page links?[/b] [color=red]I am using the latest build from codeplex. I built it manually by running "build.bat" file.[/color] Update: In app.config, I also changed enableurlrewriting = "false". But it still gave me a "resource cannot be found" error. It seems enableurlrewriting=false setting might be broken. Update 2: enableurlrewriting = "false" is working correctly. I had to stop IIS express and restart it for changes. Unlike web.config, it does not use the latest version automatically. |
Posted by: johnk - Wednesday, 29 May 2013 03:50:33 |
---|
I have updated this with more steps. Please see the link below. http://forum.yetanotherforum.net/yaf_postsm59580_Bug-in-URLrewriter-config.aspx |