Created
May 8, 2013 09:52
-
-
Save uniquelau/5539464 to your computer and use it in GitHub Desktop.
rough workings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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