Edward Jeramy
2017-07-04T06:54:48Z
I have setup the yet forum locally correctly.Its source code version.

UserPostedImage

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

UserPostedImage

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..
UserPostedImage

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

Please help me
Sponsor
tha_watcha
2017-07-04T07:30:22Z
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).)*$">


to

<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).)*$">

UserPostedImage
Edward Jeramy
2017-07-04T10:29:28Z
Originally Posted by: tha_watcha 

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).)*$">


to

<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).)*$">



thank you watcha.. If I create more pages then I have to mention those all in here?
tha_watcha
2017-07-04T11:30:38Z
Yes if all the pages are within the forum application then you need to add them all.
UserPostedImage

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