WordPress.org

Support

Support » Plugins and Hacks » MIME type problem if not logged

MIME type problem if not logged

  • After last plug-in update I realized that the custom css file it’s not loaded correctly. The error console says that the css file it’s received in text/plain instead of text/css.

    The CSS it’s not loaded and doesn’t override the original CSS file.
    This only happens if you are not logged in. If your logged to your wordpress site, there isn’t any problem.

    Anyone experiencing this problem?

    thanks in advance.

    http://wordpress.org/extend/plugins/imporved-simpler-css/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve encountered same thing. In this case it’s a multisite installation and the custom CSS isn’t loading on any of the sites.

    I’m using multisite as well.

    May be this will help:
    Explorer doesn’t care about the error, and loads the CSS anyway.
    But Chrome, Safari and Firefox only load the CSS if your logged as user, if not logged in,
    the CSS file it’s sent as plain/text and it’s not loaded by those browsers.

    Same problem here on multisite setup.

    Plugin Author enej

    @enej

    I think the way to fix that would be though some .htaccess magic.

    I am not sure why your server doesn’t send css files that are in the uploads folder as css.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MIME type problem if not logged’ is closed to new replies.