#1
Gets the Prefix used for Url Rewriting - default is "yaf_"
i replace to <add key="YAF.UrlRewritingPrefix" value="mlm/" /> and click link "Forum" browser return url is:http://localhost/kinhdoanh/mlm/forum.aspx but i want browser return url is;http://localhost/kinhdoanh

i want help
thanks
banbv1981 attached the following image(s):
retun.png
Topic Starter
  • banbv1981
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    50.2%
  • Joined: 30/11/2012
  • Posts: 8
  • Thanks: 4 times
#2
It's not quite clear what you want.
You can write your own rewriter for YAF and recompile it or you can simply change UrlRewriter.config.
.aspx extention is hardcoded into YAF URLRewriter.
  • bbobb
  • Rank: YAF Developer
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for a YAF Database Key Player: Holds the key to YAF database. Bow down!Medal of Honor for the Support King: Given for answering tons of support questions and generally helping the community.Medal of Honor for the Support Knight: Given to a community member who has answered lots of support questions.
  • Joined: 21/10/2008
  • Posts: 1,558
  •  Man  Russian Federation
  • Location: Moscow
  • Thanks: 51 times
  • Was thanked: 287 time(s) in 253 post(s)
#3
Originally Posted by: bbobb

It's not quite clear what you want.
You can write your own rewriter for YAF and recompile it or you can simply change UrlRewriter.config.
.aspx extention is hardcoded into YAF URLRewriter.



thanks ,i edit in forum.ascx
Topic Starter
  • banbv1981
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    50.2%
  • Joined: 30/11/2012
  • Posts: 8
  • Thanks: 4 times
Users browsing this topic

Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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