Copied to clipboard

Flag this post as spam?

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


  • Darren Hunter 134 posts 226 karma points
    Oct 31, 2022 @ 16:15
    Darren Hunter
    0

    Is there a way to Split the back office off on to it own URL

    Hi.

    Is there a way to Split a version 10 site so that you have the main part of the site on

    Example: https://www.mysite.com

    and the Admin /Umbraco area on another URL

    https://www.mysite.admin.com/

  • Matthew Care 12 posts 145 karma points c-trib
    Oct 31, 2022 @ 17:02
    Matthew Care
    0

    Hello,

    You could add some rewrite rules which redirect

    https://www.mysite.com/umbraco
    

    To

    https://www.mysite.admin.com/umbraco
    

    And other rewrite rules which do the reverse. For example this rewrite rule would redirect all /umbraco requests to your admin domain. (Don't quote me on this rewrite rule I'm doing it from memory)

    <rule name="RedirectToAdmin" stopProcessing="true">
        <match url="^(?:umbraco)(?:/|$)" />
        <conditions>
            <add input="{HTTP_HOST}" pattern="^www\.mysite\.admin\.com$" negate="true" />
        </conditions>
        <action type="Redirect" redirectType="Permanent" url="https://www.mysite.admin.com/umbraco" />
    </rule>
    
Please Sign in or register to post replies

Write your reply to:

Draft