YAFLogo

ravinpadhy
  • ravinpadhy
  • 60.8% (Friendly)
  • YAF Camper Topic Starter
5 years ago
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 You have insufficient rights to see the content.

YAF.NET Version: 2.2.4.4

Thanks,

Rabi

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
5 years ago
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">
ravinpadhy
  • ravinpadhy
  • 60.8% (Friendly)
  • YAF Camper Topic Starter
5 years ago
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?

https://www.wasp3d.com/Forum/default.aspx?g=login&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
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
5 years ago
What error are you getting?