Edward Jeramy
  • Posts: 2
  • Joined: 10/06/2017
I have setup the yet forum locally correctly.Its source code version.


I need to add a separate home page with different master page.So I created a new home page under YAF folder.


When I run the Home page it allways redirect to forum home page.Url i says Home.aspx.But it is in the forum page..

I need to redirect that to home page when we click on the home.aspx

Please help me
  • Posts: 4130
  • Joined: 06/03/2010
That is caused by the URLRewriter. Open up the urlrewriter.config

and change line from....

<if url="^((?!\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|install|error|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx).)*$">


<if url="^((?!\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|install|error|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx|home\.aspx).)*$">

  • Posts: 4130
  • Joined: 06/03/2010
Yes if all the pages are within the forum application then you need to add them all.
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