Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

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 13 posts 103 karma points
    4 days ago
    Jakob Kristensen
    0

    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 13 posts 103 karma points
    4 days ago
    Jakob Kristensen
    0

    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>
    

Please Sign in or register to post replies

Write your reply to:

Draft