Skip to content

Instantly share code, notes, and snippets.

@uniquelau
Created May 8, 2013 09:52
Show Gist options
  • Save uniquelau/5539464 to your computer and use it in GitHub Desktop.
Save uniquelau/5539464 to your computer and use it in GitHub Desktop.
rough workings
@using umbraco.MacroEngines
@inherits umbraco.MacroEngines.DynamicNodeContext
@if (@Parameter.Url !=null)
{
string url = @Parameter.Url;
string query = Request.ServerVariables["QUERY_STRING"];
Response.Status = "301 Moved Permanently";
Response.Redirect(url + query);
// string hello = uComponents.DataTypes.UrlPicker.Dto.UrlPickerState.Deserialize(@Model.multiUrl);
// hello.Url;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment