Welcome Guest! To enable all features please Login or Register.
2 Pages12>
Options
View
Go to last post Go to first unread
Offline GendrixonEvgeny  
#1 Posted : Saturday, November 11, 2017 11:59:59 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Friends. Is there any way to set the first page of the forum new? for example news. I have this page and it is available at the address / news. And I would like to make it basic. Thank you!
Sponsor
Offline tha_watcha  
#2 Posted : Saturday, November 11, 2017 2:39:45 PM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Friends. Is there any way to set the first page of the forum new? for example news. I have this page and it is available at the address / news. And I would like to make it basic. Thank you!

(
If i understand you correctly you would like to change the default page of the forum in that case you need to change the dafault page/document in your IIS from default.aspx to for example news.aspx
Offline GendrixonEvgeny  
#3 Posted : Sunday, November 12, 2017 5:40:16 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Friends. Is there any way to set the first page of the forum new? for example news. I have this page and it is available at the address / news. And I would like to make it basic. Thank you!

(
If i understand you correctly you would like to change the default page of the forum in that case you need to change the dafault page/document in your IIS from default.aspx to for example news.aspx


Yes. I need the first page to be a page with news (RSS). And other information.
Offline tha_watcha  
#4 Posted : Sunday, November 12, 2017 6:07:27 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Friends. Is there any way to set the first page of the forum new? for example news. I have this page and it is available at the address / news. And I would like to make it basic. Thank you!

(
If i understand you correctly you would like to change the default page of the forum in that case you need to change the dafault page/document in your IIS from default.aspx to for example news.aspx


Yes. I need the first page to be a page with news (RSS). And other information.


Well in that case you could remove the Yaf:Forum control from the default.aspx and put whatever you want to display in the default.aspx. And next you create a separate page for example forum.aspx where you put the forum control.

PS: you could also take a look at the ASP.NET Sample Application
https://github.com/YAFNE...plication-v2.2.4.4-C.zip




Offline GendrixonEvgeny  
#5 Posted : Saturday, November 18, 2017 11:02:55 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Friends. Is there any way to set the first page of the forum new? for example news. I have this page and it is available at the address / news. And I would like to make it basic. Thank you!

(
If i understand you correctly you would like to change the default page of the forum in that case you need to change the dafault page/document in your IIS from default.aspx to for example news.aspx


Yes. I need the first page to be a page with news (RSS). And other information.


Well in that case you could remove the Yaf:Forum control from the default.aspx and put whatever you want to display in the default.aspx. And next you create a separate page for example forum.aspx where you put the forum control.

PS: you could also take a look at the ASP.NET Sample Application
https://github.com/YAFNE...plication-v2.2.4.4-C.zip


We went there. But when navigating to the forum.aspx address, we get the contents of the defaul.aspx.

Edited by moderator Sunday, November 19, 2017 3:33:37 AM(UTC)  | Reason: Not specified

Offline tha_watcha  
#6 Posted : Sunday, November 19, 2017 3:36:37 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Yes sorry you need to modify the app.config and add...

Code:
<add key="YAF.BaseScriptFile" value="forum.aspx" />
<add key="YAF.ForceScriptName" value="forum.aspx" />


also you need to modify the urlrewriter.config and replace all

Code:
Default.aspx


with

Code:
forum.aspx

Offline GendrixonEvgeny  
#7 Posted : Sunday, November 19, 2017 4:14:10 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Yes sorry you need to modify the app.config and add...

Code:
<add key="YAF.BaseScriptFile" value="forum.aspx" />
<add key="YAF.ForceScriptName" value="forum.aspx" />


also you need to modify the urlrewriter.config and replace all

Code:
Default.aspx


with

Code:
forum.aspx



Yes, thanks to this! But unfortunately when you go to the address of the domain . com we get to the forum immediately. On our page, we can only get to the address domain . com / default.aspx. I would like to of course go to a direct link to a new page. Without default.aspx
Offline tha_watcha  
#8 Posted : Sunday, November 19, 2017 4:36:38 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Originally Posted by: tha_watcha Go to Quoted Post
Yes sorry you need to modify the app.config and add...

Code:
<add key="YAF.BaseScriptFile" value="forum.aspx" />
<add key="YAF.ForceScriptName" value="forum.aspx" />


also you need to modify the urlrewriter.config and replace all

Code:
Default.aspx


with

Code:
forum.aspx



Yes, thanks to this! But unfortunately when you go to the address of the domain . com we get to the forum immediately. On our page, we can only get to the address domain . com / default.aspx. I would like to of course go to a direct link to a new page. Without default.aspx


See my solution above, remove the forum control from the default.aspx page.

Offline GendrixonEvgeny  
#9 Posted : Sunday, November 19, 2017 5:19:06 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: GendrixonEvgeny Go to Quoted Post
Originally Posted by: tha_watcha Go to Quoted Post
Yes sorry you need to modify the app.config and add...

Code:
<add key="YAF.BaseScriptFile" value="forum.aspx" />
<add key="YAF.ForceScriptName" value="forum.aspx" />


also you need to modify the urlrewriter.config and replace all

Code:
Default.aspx


with

Code:
forum.aspx



Yes, thanks to this! But unfortunately when you go to the address of the domain . com we get to the forum immediately. On our page, we can only get to the address domain . com / default.aspx. I would like to of course go to a direct link to a new page. Without default.aspx


See my solution above, remove the forum control from the default.aspx page.



I delete everything from the default.aspx and at the direct address I still get the content forum.aspx)
Offline tha_watcha  
#10 Posted : Sunday, November 19, 2017 5:53:51 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Sorry right you need to exclude the main url from the urlrewriter.config..

Code:
<rewriter>
  <!-- Standard URL Rewriting Format -->
  <rewrite url="^~/(.+?)?yaf_login?\.aspx\?(.+)?$" to="~/$1Default.aspx?g=login&amp;$2" processing="stop" />
  <rewrite url="^~/(.+?)?yaf_info?\.aspx\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1Default.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
  <rewrite url="^~/(.+)?yaf_topics([0-9]+)p([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?yaf_topics([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_forum([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postst([0-9]+)find([-a-z]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=$3&amp;$7" processing="stop" /> 
  <rewrite url="^~/(.+)?yaf_postst([0-9]+)p([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postst([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postsm([0-9]+)find([-a-z]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postsm([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_profile([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)t([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
  <rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)f([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" /> 
  <rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;$8" processing="stop" />
  <rewrite url="^~/(.+)?yaf_([-0-9a-z_]+?)\.aspx\?(.+)?$" to="~/$1Default.aspx?g=$2&amp;$3" processing="stop" />
  <rewrite url="^~/(.+)?yaf_([-0-9a-z_]+?)\.aspx$" to="~/$1Default.aspx?g=$2" processing="stop" />
  
  <!-- Advanced URL Rewriting Format -->
  <rewrite url="^~/(.+?)?info?\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1Default.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$6&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?category/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$6&amp;$8" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?profile/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1Default.aspx?g=admin_$2_$3&amp;$5" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1Default.aspx?g=admin_$2&amp;$4" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)f([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" /> 
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))-([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+?)?login(\?(.+))?$" to="~/$1Default.aspx?g=login&amp;$3" processing="stop" />
  <if url="^((?!\/|\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|\/install|error\.aspx|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx|ftb.imagegallery\.aspx|ckfinder).)*$">
    <rewrite url="^~/(.+)?\?(.+)?$" to="~/forum.aspx?g=$1&amp;$2" processing="stop" />
    <rewrite url="^~/(.+)?\.aspx$" to="~/forum.aspx?g=$1" processing="stop" /> 
    <rewrite url="^~/(.+)?$" to="~/forum.aspx?g=$1" processing="stop" />
  </if>
</rewriter>
Offline GendrixonEvgeny  
#11 Posted : Sunday, November 19, 2017 6:21:53 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Sorry right you need to exclude the main url from the urlrewriter.config..

Code:
<rewriter>
  <!-- Standard URL Rewriting Format -->
  <rewrite url="^~/(.+?)?yaf_login?\.aspx\?(.+)?$" to="~/$1Default.aspx?g=login&amp;$2" processing="stop" />
  <rewrite url="^~/(.+?)?yaf_info?\.aspx\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1Default.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
  <rewrite url="^~/(.+)?yaf_topics([0-9]+)p([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?yaf_topics([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_forum([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postst([0-9]+)find([-a-z]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=$3&amp;$7" processing="stop" /> 
  <rewrite url="^~/(.+)?yaf_postst([0-9]+)p([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postst([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postsm([0-9]+)find([-a-z]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?yaf_postsm([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_profile([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)t([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
  <rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)f([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" /> 
  <rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;$8" processing="stop" />
  <rewrite url="^~/(.+)?yaf_([-0-9a-z_]+?)\.aspx\?(.+)?$" to="~/$1Default.aspx?g=$2&amp;$3" processing="stop" />
  <rewrite url="^~/(.+)?yaf_([-0-9a-z_]+?)\.aspx$" to="~/$1Default.aspx?g=$2" processing="stop" />
  
  <!-- Advanced URL Rewriting Format -->
  <rewrite url="^~/(.+?)?info?\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1Default.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$6&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?category/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$6&amp;$8" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?profile/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1Default.aspx?g=admin_$2_$3&amp;$5" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1Default.aspx?g=admin_$2&amp;$4" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)f([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" /> 
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))-([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+?)?login(\?(.+))?$" to="~/$1Default.aspx?g=login&amp;$3" processing="stop" />
  <if url="^((?!\/|\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|\/install|error\.aspx|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx|ftb.imagegallery\.aspx|ckfinder).)*$">
    <rewrite url="^~/(.+)?\?(.+)?$" to="~/forum.aspx?g=$1&amp;$2" processing="stop" />
    <rewrite url="^~/(.+)?\.aspx$" to="~/forum.aspx?g=$1" processing="stop" /> 
    <rewrite url="^~/(.+)?$" to="~/forum.aspx?g=$1" processing="stop" />
  </if>
</rewriter>


In this case, unfortunately, some of the pages cease to work HTTP Error 404.0 - Not Found.
Offline tha_watcha  
#12 Posted : Sunday, November 19, 2017 7:09:37 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
of course it can not work try...

Code:
<rewriter>
  <!-- Advanced URL Rewriting Format -->
  <rewrite url="^~/(.+?)?info?\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1forum.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1forum.aspx?g=topics&amp;f=$2&amp;p=$6&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?category/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;p=$6&amp;$8" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;m=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;m=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?profile/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1forum.aspx?g=admin_$2_$3&amp;$5" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1forum.aspx?g=admin_$2&amp;$4" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)f([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" /> 
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))-([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+?)?login(\?(.+))?$" to="~/$1forum.aspx?g=login&amp;$3" processing="stop" />
  <if url="^((?!\/|\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|\/install|error\.aspx|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx|ftb.imagegallery\.aspx|ckfinder).)*$">
    <rewrite url="^~/(.+)?\?(.+)?$" to="~/forum.aspx?g=$1&amp;$2" processing="stop" />
    <rewrite url="^~/(.+)?\.aspx$" to="~/forum.aspx?g=$1" processing="stop" /> 
    <rewrite url="^~/(.+)?$" to="~/forum.aspx?g=$1" processing="stop" />
  </if>
</rewriter>
Offline GendrixonEvgeny  
#13 Posted : Sunday, November 19, 2017 7:29:24 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
of course it can not work try...

Code:
<rewriter>
  <!-- Advanced URL Rewriting Format -->
  <rewrite url="^~/(.+?)?info?\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1forum.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1forum.aspx?g=topics&amp;f=$2&amp;p=$6&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?category/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;p=$6&amp;$8" processing="stop" />
  <rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;m=$2&amp;find=lastpost&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;m=$2&amp;find=unread&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?posts/m([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?profile/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1forum.aspx?g=admin_$2_$3&amp;$5" processing="stop" />
  <rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1forum.aspx?g=admin_$2&amp;$4" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)f([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" /> 
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))-([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1forum.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
  <rewrite url="^~/(.+?)?login(\?(.+))?$" to="~/$1forum.aspx?g=login&amp;$3" processing="stop" />
  <if url="^((?!\/|\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|\/install|error\.aspx|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx|ftb.imagegallery\.aspx|ckfinder).)*$">
    <rewrite url="^~/(.+)?\?(.+)?$" to="~/forum.aspx?g=$1&amp;$2" processing="stop" />
    <rewrite url="^~/(.+)?\.aspx$" to="~/forum.aspx?g=$1" processing="stop" /> 
    <rewrite url="^~/(.+)?$" to="~/forum.aspx?g=$1" processing="stop" />
  </if>
</rewriter>


Sorry. We probably do not understand each other.
At the moment we have achieved the work of the custom page of Defaul.aspx at the address domain.default.aspx. so we saved the work of the whole forum at the address domain.forum.aspx. Now we solve the issue with the default page. That when navigating to the domain . com address there was the content of this page, and not the content of the forum.aspx page. With any modification of the file, the UrlRewriter as you mentioned above - we have stopped working part of the forum ...
http : // prntscr . com/hcf7zy
Offline tha_watcha  
#14 Posted : Sunday, November 19, 2017 8:16:03 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Sorry but i guess i can not help you. You wanted to remove the forum from the default.aspx to a separate page right?

With the instructions i give you that would be possible. Did you put the forum control on the forum.aspx page, and removed it from the the default.aspx page?
Offline GendrixonEvgeny  
#15 Posted : Sunday, November 19, 2017 8:28:18 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Sorry but i guess i can not help you. You wanted to remove the forum from the default.aspx to a separate page right?

With the instructions i give you that would be possible. Did you put the forum control on the forum.aspx page, and removed it from the the default.aspx page?


Yes. We need to move the forum from default.aspx to forum.aspx (which we have done successfully). Everything works perfectly, BUT. Going to the forum at the domain . com domain, we get to the page with the content forum.aspx. And I would like to move to the domain address showed the contents of the new default.aspx on the short domain.dom domain, not domain.com / default.aspx. We placed the control on the forum.aspx page (copying the old page default.aspx). The new default.aspx is now empty.

Rss Feed  Atom Feed
Users browsing this topic
Similar Topics
Adverts are shown on first page only (YAF Issues & Bugs Discussion)
by johnk 6/28/2013 8:29:30 PM(UTC)
Ads showing only on first page (YAF General)
by jimbo2 1/15/2012 4:11:09 PM(UTC)
Error on the first page itself - This SqlTransaction has completed; it is no longer usable. (YAF Issues & Bugs Discussion)
by krishnan 6/23/2009 6:21:45 PM(UTC)
2 Pages12>
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.

Notification

Icon
Error