Copied to clipboard

Flag this post as spam?

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


  • Dincer M. 35 posts 97 karma points
    May 20, 2016 @ 08:14
    Dincer M.
    0

    Copy Umbraco site, from Web Site to Application, paths incorrect

    Hi,

    We have a Umbraco 6 based web site under a domain (ex. www.currentdomain.com)

    We want to move the whole site to a different server, under a seperate web site (non-umbraco), into its own Application (ex. www.newdomain.com/myUmbracoSite)

    I tested on my local, created a simple web site (newdomain) on IIS, then created an Application under it (alias: myUmbracoSite), pointed the folder of Umbraco website.

    When I run, the site appears under http://localhost:35345/myUmbracoSite . However, all the paths are incorrect as they dont include "/myUmbracoSite" in the URL.

    Example: http://localhost:35345/images/svg/newimg-3.svg whereas it should be http://localhost:35345/myUmbracoSite/images/svg/newimg-3.svg

    or

    <script src="/js/main.js" type="text/javascript"></script>

    whereas it should be

    <script src="/myUmbracoSite/js/main.js" type="text/javascript"></script>

    How can I fix this incorrect path problem?

    Regards.

  • 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