Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
IIS rewrite rule for adding country code in url
tri_inn
Mar 9 2017 5:02 AM
182
Reply
I have one question regarding url rewrite. suppose i want to add country code in my all url say www.mysite.com/gb/home.aspx or www.mysite.com/de/home.aspx but there will be no folder called gb or de rather when the above kind of url will be issued then i need to internally send the request to my root home.aspx file and country code will be passed as query string. how can i achieve this with IIS rewrite rule. i guess we need to handle it with iis rewrite rule but i do not know how iis rewrite rule would look like for this scenario. if anyone know then can share the code for iis rewrite rule which i need to write in web.config file. thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
What is the difference between web api POST and PUT verb
Document not opening