WordPress.org

Ready to get started?Download WordPress

Forums

css concatenation (3 posts)

  1. nitm
    Member
    Posted 1 year ago #

    Hey.

    In my wordpress site I have this lines in my header.php:

    <link rel="stylesheet" type="text/css" media="all" href="TEMPLATE_DIRECTORY_URI/css/style.css" />
    <link rel="stylesheet" type="text/css" media="all" href="TEMPLATE_DIRECTORY_URI/css/layout.css" />
    <link rel="stylesheet" type="text/css" media="all" href="TEMPLATE_DIRECTORY_URI/css/header.css" />

    But when the page is shown for some reason all of those style files are being concatenated and this is the code:

    <link rel="stylesheet" type="text/css" media="all" href="TEMPLATE_DIRECTORY_URI/css/W.style.css+layout.css+header.css,Mcc.UlbA3qhyyg.css.pagespeed.cf.MnaoV_3g8P.css"/>

    I'm not using any minification plugin and so I have no idea where and why this happens.

    I have nothing against this of course, but I would like to know how to reset the content of the concatenated result.
    It's not an actual file but something that is being created on request.

    Any ideas?
    Thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. nitm
    Member
    Posted 1 year ago #

    So you think it's a plugin issue?
    It's not something that wordpress does in it's core?

    I will try what you recommended.

Topic Closed

This topic has been closed to new replies.

About this Topic