• Resolved theviraltweets

    (@theviraltweets)


    Hi

    I heard a lot about this plugin and finally installed it on my website, and I really impressed with the performance change, but I’m experiencing one problem.

    I use .Json file, SVG Lottie file on my website and plugin disabled the .Json file type on my website, and I saw some line in .htaccess file but didn’t remove it because it may break the website so please help me to solve this issue.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    plugin disabled the .Json file type on my website

    In which way is the plugin disabling json files? Could you explain a bit more?

    Marc

    Looking at the page you linked, I see that there is an error:

    Screenshot

    The error is due to the domain being different (one with www and one without).

    If you fix the difference, it should load properly.

    Marc

    Thread Starter theviraltweets

    (@theviraltweets)

    1. I have created redirects to WWW before changing to the just HTTPS, so I assume it should redirect that URL.

    2. (Image 1) File URL in my library. So, where is the file with WWW coming from?

    3. Okay, it struck with old URL, and if I change it by editing the page the problem should resolve, but this is the error what I’m seeing in the edit page. (Image 2)

    4. Image 3 This what I’m seeing in .htaccess file, so my question is, can I remove this line, does it affect Or Crashes my site? Or How to resolve this issue?

    Thank You

    2. The URL is likely saved in the page, so as you say, editing it should fix the issue.

    WP-Optimize does not add or remove anything to what people can or cannot upload.

    4. Those lines in the html add Gzip support for font files, and do not affect json. Do not remove them individually, unless you know what you are doing.

    Disabling Gzip in WP-Optimize should remove those lines, if you want to test that.

    I think the error in the editor is because of the www, and the block can’t load the json file, and assumes it’s an error with the file type permissions.

    What could work is to edit the source of the block in order to remove the www.
    In the block menu, select “edit as html”, remove the www, and return to visual editing.

    Marc

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin disabled .Json file type on my website’ is closed to new replies.