locked
Best way to handel URL Redirect RRS feed

  • Question

  • User133461813 posted

    Hello,

    I've to redirects two existing pages to the new url with my existing site, I think the best way to handle it through load balancer on network level but due to some reason I can't handle it on network level.

    The other way is through either config or IIS, not sure what would be the best way.

    Can some one suggest what is the best practices to handle this?

    Thanks.

    Monday, September 26, 2016 1:08 PM

Answers

  • User-2057865890 posted

    Hi Patelsnehalp,

    Can some one suggest what is the best practices to handle this?

    You could create Rewrite Rules for the URL Rewrite Module.

    In the URL Rewrite Module, a rewrite rule is defined by specifying four required pieces of information:

    Name of the rule.
    Pattern to use for matching the URL string.
    Optional set of conditions.
    Action to perform if a pattern is matched and whether all conditions checks succeed.

    reference: http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module 

    Besides, please consider posting IIS related questions to http://forums.iis.net/. You may get quicker and better responses there.

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 27, 2016 6:57 AM

All replies

  • User-2057865890 posted

    Hi Patelsnehalp,

    Can some one suggest what is the best practices to handle this?

    You could create Rewrite Rules for the URL Rewrite Module.

    In the URL Rewrite Module, a rewrite rule is defined by specifying four required pieces of information:

    Name of the rule.
    Pattern to use for matching the URL string.
    Optional set of conditions.
    Action to perform if a pattern is matched and whether all conditions checks succeed.

    reference: http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module 

    Besides, please consider posting IIS related questions to http://forums.iis.net/. You may get quicker and better responses there.

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 27, 2016 6:57 AM
  • User133461813 posted

    Thanks Chris.

    Tuesday, September 27, 2016 5:11 PM