Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jakob Kristensen 36 posts 169 karma points
    Oct 12, 2017 @ 11:59
    Jakob Kristensen
    0

    Url rewrite of /umbraco

    Hello Umbraco

    I am having issues figuring out how to use the url rewrite module to rewrite my /umbraco page to another website.

    We are doing flexible loadbalancing and want to redirect content creators from loadbalanced/umbraco to non loadbalancedsite/umbraco.

    So far i made this rewrite but it isnt doing the trick, been searching abit on this topic but havent found anything usable.

      <rewrite>
        <rules>
          <rule name="SpecificRedirect" stopProcessing="true" >
            <match url="http://localhost:56738/umbraco" />
    
            <action type="Redirect" url="http://MYWEBSITE.COM/umbraco" />
          </rule>
        </rules>
      </rewrite>
    

    Am i doing something wrong here, maybe its the staticly typed names?

  • Jakob Kristensen 36 posts 169 karma points
    Oct 12, 2017 @ 12:10
    Jakob Kristensen
    100

    I figured it out i wasnt placing it in the correct web.server

      <system.webServer>
    <rewrite xdt:Transform="Insert">
      <rule name="SpecificRedirect" stopProcessing="true" >
        <match url="https://myotyhersite.net/umbraco" />
    
        <action type="Redirect" url="http://mysite.net/umbraco" />
      </rule>
    </rewrite>
    

  • Jakob Kristensen 36 posts 169 karma points
    Oct 23, 2017 @ 09:13
Please Sign in or register to post replies

Write your reply to:

Draft