Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
hello
using umbraco 4.7.
in web.config when we add rule as below, umbraco CMS doesnot shows left-side node structure.... say content, developer... so what is the problem in this?
<system.webserver>
<rewrite> <rules> <clear /> <rule name="RedirectUserFriendlyURL1" stopProcessing="true"> <match url="^Default\.aspx$" /> <conditions> <add input="{REQUEST_METHOD}" negate="true" pattern="^POST$" /> <add input="{QUERY_STRING}" pattern="^booktype=([^=&]+)&searchtext=([^=&]+)&page=([^=&]+)$" /> </conditions> <action type="Redirect" url="{C:1}/{C:2}/{C:3}" appendQueryString="false" redirectType="Permanent" /> </rule> <rule name="RewriteUserFriendlyURL1" stopProcessing="true"> <match url="^([^/]+)/([^/]+)/([^/]+)/?$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="Default.aspx?booktype={R:1}&searchtext={R:2}&page={R:3}" /> </rule> </rules> </rewrite>
</system.webserver>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
use of web.config for rewrite and redirect rules
hello
using umbraco 4.7.
in web.config when we add rule as below, umbraco CMS doesnot shows left-side node structure.... say content, developer... so what is the problem in this?
<system.webserver>
<rewrite>
<rules>
<clear />
<rule name="RedirectUserFriendlyURL1" stopProcessing="true">
<match url="^Default\.aspx$" />
<conditions>
<add input="{REQUEST_METHOD}" negate="true" pattern="^POST$" />
<add input="{QUERY_STRING}" pattern="^booktype=([^=&]+)&searchtext=([^=&]+)&page=([^=&]+)$" />
</conditions>
<action type="Redirect" url="{C:1}/{C:2}/{C:3}" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="RewriteUserFriendlyURL1" stopProcessing="true">
<match url="^([^/]+)/([^/]+)/([^/]+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="Default.aspx?booktype={R:1}&searchtext={R:2}&page={R:3}" />
</rule>
</rules>
</rewrite>
</system.webserver>
is working on a reply...