0

I have a Sitecore URL (wwww.abc.com/home/legend). I want to call a different URL when this URL is called. Suppose, I have

  • URL A - wwww.abc.com/home/legend (Sitecore One)
  • URL B - www.xyz.com/hello.php (hosted in different CMS)

If I call URL A, then the content from URL B will be displayed but the URL in the browser will not change. I tried with IIS rewrite but it is changing the URL also, so that's not what I want. Thanks for the help.

  • Is this question the same as sitecore.stackexchange.com/questions/3645/…? If yes, I would close this one. – Tamás Tárnok Mar 13 '19 at 8:46
  • @TamásTárnok No, that question is more of a redirection one. Here I asked about how to retain the same URL while content changes. – PSS Mar 13 '19 at 9:28
  • thw answer what I gave their does not overwrite the url but loads the content from an external domain – Tamás Tárnok Mar 13 '19 at 17:01
4

IIS Rewrite cannot do that by itself, you will have to install the Application Request Routing (ARR) IIS Extension for that, you can download it here. When you have that installed you can put in something like this:

<rewrite>
    <rules>
        <rule name="Reverse Proxy" stopProcessing="true">
            <match url="^home/legend$" />
            <action type="Rewrite" url="www.xyz.com/hello.php" />
        </rule>        
    </rules>
</rewrite>
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.