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
We are porting an old project to umbraco 8. Umbraco 9 wasn't stable yet when we started so its too late now.
Anyway, one of the features is the urlrewriting.config
Syntax looked like this
<add name="productspecialrequest" virtualUrl="^~/product/category/(.*)" destinationUrl="~/product/category.aspx?pname=$1" ignoreCase="true" />
or
<add name="productspecialrequest2" virtualUrl="^~/product/category/(.*)/(.*)" destinationUrl="~/product/category.aspx?pname=$1&something=$2" ignoreCase="true" />
We liked this version because we just pass it in a query string then it catches anything after /category/ then use this to search for content from another non-umbraco database.
How do you do this now in umbraco 8?
UrlRewriting.net was removed in 7.6.
For v8 you can use IIS Url Rewrites instead: https://www.iis.net/downloads/microsoft/url-rewrite
For v9, it depends on your hosting setup.
what is a better way, iis url rewrites or icontentfinder? like this
https://our.umbraco.com/forum/using-umbraco-and-getting-started/102851-virtual-content-and-custom-url
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
What happened to urlrewriting in umbraco 8?
We are porting an old project to umbraco 8. Umbraco 9 wasn't stable yet when we started so its too late now.
Anyway, one of the features is the urlrewriting.config
Syntax looked like this
or
We liked this version because we just pass it in a query string then it catches anything after /category/ then use this to search for content from another non-umbraco database.
How do you do this now in umbraco 8?
UrlRewriting.net was removed in 7.6.
For v8 you can use IIS Url Rewrites instead: https://www.iis.net/downloads/microsoft/url-rewrite
For v9, it depends on your hosting setup.
what is a better way, iis url rewrites or icontentfinder? like this
https://our.umbraco.com/forum/using-umbraco-and-getting-started/102851-virtual-content-and-custom-url
is working on a reply...