U4-9005 Update comments in urlrewriting.config to note it's obsolete
This commit is contained in:
@@ -2,32 +2,9 @@
|
||||
<urlrewritingnet xmlns="http://www.urlrewriting.net/schemas/config/2006/07">
|
||||
<rewrites>
|
||||
<!--
|
||||
Urlrewriting.Net is a cool tool, what can make your urls look nice.
|
||||
The rewriting is controlled with regular expressions. To get more help
|
||||
look at http://www.urlrewriting.net/.
|
||||
|
||||
Remember to read the manual!
|
||||
http://our.umbraco.org/wiki/recommendations/recommended-reading-for-web-developers
|
||||
|
||||
The sample below rewrites a url from
|
||||
"/product/someproductid.aspx" to
|
||||
"/product.aspx?productid=someproductid"
|
||||
|
||||
The user will not see the rewritten path! The page that will be
|
||||
loaded from umbraco will instead be:
|
||||
"/product.aspx?productid=someproductid"
|
||||
|
||||
<add name="produktidrewrite"
|
||||
virtualUrl="^~/product/(.*).aspx"
|
||||
rewriteUrlParameter="ExcludeFromClientQueryString"
|
||||
destinationUrl="~/product.aspx?productid=$1"
|
||||
ignoreCase="true" />
|
||||
|
||||
This sample is usefull for a productpage, where the product comes from a
|
||||
dynamic datasource, e.g. a database. The querystring "productid" can be loaded
|
||||
from the template, into a macro, that then loads the product!
|
||||
|
||||
Any bugs or problems with the rewriter, contact Anders/Duckie
|
||||
-->
|
||||
URLRewriting.net is obsolete and will be removed from Umbraco in the future.
|
||||
If you want to do rewrites, make sure to use IIS URL rewrite: https://www.iis.net/downloads/microsoft/url-rewrite
|
||||
The advantage of using IIS rewrite is that it is much faster, much less CPU intensive and much less memory intensive.
|
||||
-->
|
||||
</rewrites>
|
||||
</urlrewritingnet>
|
||||
|
||||
@@ -2,32 +2,9 @@
|
||||
<urlrewritingnet xmlns="http://www.urlrewriting.net/schemas/config/2006/07">
|
||||
<rewrites>
|
||||
<!--
|
||||
Urlrewriting.Net is a cool tool, what can make your urls look nice.
|
||||
The rewriting is controlled with regular expressions. To get more help
|
||||
look at http://www.urlrewriting.net/.
|
||||
|
||||
Remember to read the manual!
|
||||
http://our.umbraco.org/wiki/recommendations/recommended-reading-for-web-developers
|
||||
|
||||
The sample below rewrites a url from
|
||||
"/product/someproductid.aspx" to
|
||||
"/product.aspx?productid=someproductid"
|
||||
|
||||
The user will not see the rewritten path! The page that will be
|
||||
loaded from umbraco will instead be:
|
||||
"/product.aspx?productid=someproductid"
|
||||
|
||||
<add name="produktidrewrite"
|
||||
virtualUrl="^~/product/(.*).aspx"
|
||||
rewriteUrlParameter="ExcludeFromClientQueryString"
|
||||
destinationUrl="~/product.aspx?productid=$1"
|
||||
ignoreCase="true" />
|
||||
|
||||
This sample is usefull for a productpage, where the product comes from a
|
||||
dynamic datasource, e.g. a database. The querystring "productid" can be loaded
|
||||
from the template, into a macro, that then loads the product!
|
||||
|
||||
Any bugs or problems with the rewriter, contact Anders/Duckie
|
||||
-->
|
||||
URLRewriting.net is obsolete and will be removed from Umbraco in the future.
|
||||
If you want to do rewrites, make sure to use IIS URL rewrite: https://www.iis.net/downloads/microsoft/url-rewrite
|
||||
The advantage of using IIS rewrite is that it is much faster, much less CPU intensive and much less memory intensive.
|
||||
-->
|
||||
</rewrites>
|
||||
</urlrewritingnet>
|
||||
</urlrewritingnet>
|
||||
|
||||
Reference in New Issue
Block a user