Query strings without a value doesn't seem to work?
We are using 301 URL Tracker to map the URLs from a old site, to the new URLs in Umbraco. The old URLs are in this format: index.aspx?contact
But that doesn't work with the 301 URL Tracker.
If I add an equal sign ("=") after "contact" so the complete path looks like this: index.aspx?contact= then it works (added both on the request and in as the oldUrl).
Is this a bug in the 301 URL Tracker, or are I doing anything wrong?
If others experience the same problem, a modifed version of this rewrite rule can be used as a work around (notice the extra = at the end of the destinationUrl):
Query strings without a value doesn't seem to work?
We are using 301 URL Tracker to map the URLs from a old site, to the new URLs in Umbraco. The old URLs are in this format: index.aspx?contact
But that doesn't work with the 301 URL Tracker.
If I add an equal sign ("=") after "contact" so the complete path looks like this: index.aspx?contact= then it works (added both on the request and in as the oldUrl).
Is this a bug in the 301 URL Tracker, or are I doing anything wrong?
Best regards
Emil
I'll have to do some testing to find out what's happening, hang in there ;-) (will take a few days before I'm able to do so)
OK. Looking forward to see what you come up with :-)
If others experience the same problem, a modifed version of this rewrite rule can be used as a work around (notice the extra = at the end of the destinationUrl):
<add name="phptoaspx"
virtualUrl="^~/(.*).php(.*)"
rewriteUrlParameter="IncludeQueryStringForRewrite"
destinationUrl="/$1.aspx$2="
ignoreCase="true" />
Credits in this Stack Overflow question:
http://stackoverflow.com/questions/4955940/how-to-get-umbraco-to-handle-requests-for-non-aspx-files-iis-integrated-pipelin
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.