troubleshooting Question

URL Rewrite

Avatar of KoolAsIce
KoolAsIceFlag for Afghanistan asked on
Microsoft IIS Web ServerASP.NET
3 Comments1 Solution283 ViewsLast Modified:
Hello Experts,

I have access to web.config and here is what I am trying to achieve.

I have a site like: www.foo.com/fun/en/us/default.aspx which needs to be redirected to www.foo.com/fun/en-us/default.aspx Please note that change in url from en/us to en-us.

I also want all the older users to directly redirect to same page in new site.

I tried to read couple articles but didn't help much? Looks like best way to do would be URL rewrite in web.config. Also, note that I have access to web.config but not IIS.

Could anyone give be code or some really good articles? I have to kinda work in live site, so I can't just play around.

Any suggestions will be highly appreciated.
ASKER CERTIFIED SOLUTION
Steven Carnahan
Assistant Vice President\Network Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros