• Resolved csit

    (@calmsmile)


    I install kirki plugins on local computer with the bitnami environment, updraftplus backup and move on the online server, then the browser show “Not allowed to load local resource:”
    QQ截图20200324203259.png
    the path “/wp-contents/fonts” the kirki plugin created
    What should I do?

Viewing 1 replies (of 1 total)
  • Thread Starter csit

    (@calmsmile)

    the problem is gone !

    I just delete “/wp-content/fonts” the “fonts” directory and reload the website page , then the “fonts” directory recreate and redownload the fonts in “/wp-content/fonts” and the css path automatically becomes the website url not the local url:

    ——————–if the fonts css src url looks like the follow———–
    @font-face {
    font-family: ‘Oswald’;
    font-style: normal;
    font-weight: 400;
    src: url(C:\Bitnami\wampstack-7.3.13-0\apps\wordpress\htdocs/wp-content/fonts/oswald/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUtiYySUhiCXABTV.woff) format(‘woff’);
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    }
    ——-then delete “/wp-content/fonts” the “fonts” directory and reload the site–
    ——-Now the src url is the site url————————————————
    @font-face {
    font-family: ‘Oswald’;
    font-style: normal;
    font-weight: 400;
    src: url(https://yourwebsite.com/wp-content/fonts/oswald/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUtiYySUhiCXABTV.woff) format(‘woff’);
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    }
    ————————————————————————————–

Viewing 1 replies (of 1 total)
  • The topic ‘Not allowed to load local resource:’ is closed to new replies.