Copied to clipboard

Flag this post as spam?

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


  • J 351 posts 606 karma points
    May 26, 2020 @ 16:18
    J
    0

    Preview not working with unpublished page

    I have 2 sites within 1 umbraco. Both have different URLs. I have added rewrites for both domains under umbraco rewrite config.

    One of the site has its parent page unpublished but i cant preview it as it throws a 404.

    Is there a workaround for this?

    Thanks

  • Amir Khan 1199 posts 2567 karma points
    May 26, 2020 @ 22:41
    Amir Khan
    0

    Can you send the rewrite rules? I have def had this happen before and can send you a solution when I'm in the office tomorrow.

  • J 351 posts 606 karma points
    May 28, 2020 @ 16:08
    J
    0

    hi

    Heres an example of what i have repeated for the multiple sites

    <add name="RuleOne" virtualUrl="^~/en-GB/stations/(.*)/(.*)" destinationUrl="/en-GB/stations/station?id=$1" rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true" />
    

    As i say its repeated for each site :-)

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies