• These are my configurations
    OS: Fedora 33 Server
    PHP: PHP 7.4.13
    MySQL: MySQL 8.0

    I’d set up WordPress on my server like this:
    1. Nginx faces the internet.
    2. Nginx passes requests to PHP-fpm.
    3. PHP-fpm then handle everything after that.

    Everything seems to be working fine but I don’t know what the heck is going on? Literally, any kind of theme is not working. I’ve tried so many themes but none of them seems to be working.

    I get this weird warning and the styles to not take effect at all:

    
    <strong>Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".</strong>
    (index):29 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://php.harshrathod.dev/wp-includes/css/dashicons.min.css?ver=5.6".
    (index):30 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://php.harshrathod.dev/wp-includes/css/admin-bar.min.css?ver=5.6".
    (index):31 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://php.harshrathod.dev/wp-includes/css/dist/block-library/style.min.css?ver=5.6".
    (index):32 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://php.harshrathod.dev/wp-includes/css/dist/block-library/theme.min.css?ver=5.6".
    (index):33 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://php.harshrathod.dev/wp-content/themes/twentynineteen/style.css?ver=1.8".
    (index):34 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://php.harshrathod.dev/wp-content/themes/twentynineteen/print.css?ver=1.8".
    

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Resource interpreted as Stylesheet but…’ is closed to new replies.