Copied to clipboard

Flag this post as spam?

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


  • bh 444 posts 1544 karma points
    Aug 17, 2022 @ 17:27
    bh
    0

    My backoffice won't load

    My backoffice won't load. When I browse to www.mydomain.com/umbraco it forwards to www.mydomain.com/umbraco#/content and I see this.

    enter image description here

    My developer console shows several errors:

    I read a stackoverflow post that said clearing cache/cookies would do it, but that didn't work for me.

    I read another forum post that said timeout was set to 0...mine is set to 60.

    After some testing I found that some 301-redirects I had setup in web.config were to blame. The offending 301-redirects look like this one:

    <rule name="Redirect legacy projects" stopProcessing="true">
              <match url="legacy/(.*)" />
              <conditions />
              <action type="Redirect" url="https://www.mydomain.com/about-us/legacy" appendQueryString="false" redirectType="Permanent" />
            </rule>
    

    I'm unclear what about this 301-redirect would pose an issue to Umbraco.

  • bh 444 posts 1544 karma points
    Aug 17, 2022 @ 18:16
    bh
    101

    Fixed it. Changed my 301-redirect from <match url="legacy/(.*)" /> to <match url="^legacy(.*)" />

Please Sign in or register to post replies

Write your reply to:

Draft