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
I am using Umbraco URL rewriting to make some pretty SEO URLs for a website.
OldURL : http://mydomain.com/photogallery.aspx?album=TestAlbum&picture=12
NewURL : http://mydomain.com/photogallery/TestAlbum/12
And it works. Problem is my Macro controlling the page depends on the querystring values.
<umbraco:Macro album="[@album]" picture="[@picture]" test="Hello World" Alias="GalleryController" runat="server"></umbraco:Macro>
<xsl:value-of select="/macro/test"/>: <xsl:value-of select="/macro/album"/>: <xsl:value-of select="/macro/picture"/>
the OldURL works, returning "Hello World: TestAlbum : 12"
The NewURL returns "Hello World : : "
Any tips/ideas how to force this to work? I am loving the NiceURLs and UrlRewriting; but these little (often simple) hangups are driving me insane.
I don't know why but it is formatting my post URLs weird.
Should be
Don't answer this yet; I think I am actually just crazy (and that it is 1:20 am doesn't help) and there is no problem....
My bad....
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.
Continue discussion
URL Rewriting and Advanced Macro Parameters
I am using Umbraco URL rewriting to make some pretty SEO URLs for a website.
OldURL : http://mydomain.com/photogallery.aspx?album=TestAlbum&picture=12
NewURL : http://mydomain.com/photogallery/TestAlbum/12
And it works. Problem is my Macro controlling the page depends on the querystring values.
the OldURL works, returning "Hello World: TestAlbum : 12"
The NewURL returns "Hello World : : "
Any tips/ideas how to force this to work? I am loving the NiceURLs and UrlRewriting; but these little (often simple) hangups are driving me insane.
I don't know why but it is formatting my post URLs weird.
Should be
Don't answer this yet; I think I am actually just crazy (and that it is 1:20 am doesn't help) and there is no problem....
My bad....
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.