ravinpadhy
  • Posts: 13
  • Joined: 05/10/2018
Hi Team,

Please help me to remove extra URL showing in my forum.

Now my URL look like :
https://www.wasp3d.com/Forum/default.aspx?g=login&ReturnUrl=%2fForum%2fdefault.aspx%3fg%3dforum


But I want by default URL (default.aspx only ) :
https://www.wasp3d.com/Forum/default.aspx


Want to remove extra part of (ReturnUrl)URL ->> (
?g=login&ReturnUrl=%2fForum%2fdefault.aspx%3fg%3dforum
)

URL_.png


YAF.NET Version: 2.2.4.4


Thanks,
Rabi
Sponsor
tha_watcha
  • Posts: 4133
  • Joined: 06/03/2010
That's how the URLs will look when you disable urlrewriting. You could enable URL rewriting in the app . Config...

 <add key="YAF.EnableURLRewriting" value="True">

UserPostedImage
ravinpadhy
  • Posts: 13
  • Joined: 05/10/2018
Now :
<add key="YAF.EnableURLRewriting" value="True" />


I have changed in the app.config but not reflecting in forum, showing ERROR after ISS reset.

Please help me what to do?

Please check it : https://www.wasp3d.com/F...mp;ReturnUrl=%2fForum%2f 


<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="2000" />
<add key="YAF.ConfigPassword" value="test" />
<add key="YAF.BoardID" value="1" />
<add key="YAF.EnableURLRewriting" value="True" />
<add key="YAF.UrlRewritingFormat" value="standard" />
<add key="YAF.URLRewritingMode" value="Translit" />
<add key="YAF.UseSMTPSSL" value="false" />
<add key="YAF.DatabaseObjectQualifier" value="yaf_" />
<add key="YAF.DatabaseOwner" value="dbo" />
<add key="YAF.ConnectionStringName" value="yafnet" />
<add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />
<add key="YAF.AppRoot" value="~/" />
<add key="YAF.ProviderKeyType" value="System.Guid" />
<add key="YAF.MobileUserAgents" value="iphone,ipad,midp,windows ce,windows phone,android,blackberry,operaini,mobile,palm,portable,webos,htc,armv,lg/u,elaine,nokia,playstation,symbian,sonyericsson,mmp,hd_mini" />
<add key="YAF.RadEditorSkin" value="Black" />
<add key="YAF.UseRadEditorToolsFile" value="true" />
<add key="YAF.RadEditorToolsFile" value="editors/radEditor/toolsFile.xml" />
<add key="YAF.BaseUrlMask" value="http://wasp3d.com/" />
<add key ="CommunityVersionUrl" value=""/>
<add key="PageSize" value="15" />
<add key="ForumTitle" value="Wasp3D Forum" /> 
</appSettings>






Thanks,
Rabi
tha_watcha
  • Posts: 4133
  • Joined: 06/03/2010
What error are you getting?
UserPostedImage
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