Created
July 6, 2018 11:07
-
-
Save ozknozsrt/fca0acdbb5c0677ffb37ad8bf8e41e60 to your computer and use it in GitHub Desktop.
c# redirect replace
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
string path = Request.Url.ToString(); | |
string url = path.Replace("http://localhost:50638/", "http://localhost:50638/en/"); | |
Response.Redirect("url"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment