Refused to apply style “because its MIME type ('text/html') is not a supported stylesheet MIME type” in magento 2.3Magento 2.3 Inject helper into controller object type error?Magento 2.3 : Serving site from pub, now images get 404CSS and JS Files Not Found MagentoUncaught TypeError: Argument 1 passed to SymfonyComponentConsoleHelperProgressBar::setFormat() must be of the type string, null givenHow to disable frontend for CMS/API-only, headless Magento 2.3admin page is not workingMagento 2.3.0 - Class MailCampaignsConnectorHelperMailCampaigns_API does not existMagento 2 : Area code must be set before starting a session?Magento Website ErrorI am trying to install Magento 2.3 with PWA studio

How can I tell someone that I want to be his or her friend?

UK: Is there precedent for the governments e-petition site changing the direction of a government decision?

What killed these X2 caps?

Facing a paradox: Earnshaw's theorem in one dimension

Is there a hemisphere-neutral way of specifying a season?

What's the difference between 'rename' and 'mv'?

What does it mean to describe someone as a butt steak?

What's the point of deactivating Num Lock on login screens?

Where does SFDX store details about scratch orgs?

Can I ask the recruiters in my resume to put the reason why I am rejected?

Today is the Center

Should I tell management that I intend to leave due to bad software development practices?

What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?

Withdrawals from HSA

Is "remove commented out code" correct English?

1960's book about a plague that kills all white people

Combinations of multiple lists

How do conventional missiles fly?

Twin primes whose sum is a cube

intersection of two sorted vectors in C++

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

Stopping power of mountain vs road bike

Anagram holiday

In a Spin are Both Wings Stalled?



Refused to apply style “because its MIME type ('text/html') is not a supported stylesheet MIME type” in magento 2.3


Magento 2.3 Inject helper into controller object type error?Magento 2.3 : Serving site from pub, now images get 404CSS and JS Files Not Found MagentoUncaught TypeError: Argument 1 passed to SymfonyComponentConsoleHelperProgressBar::setFormat() must be of the type string, null givenHow to disable frontend for CMS/API-only, headless Magento 2.3admin page is not workingMagento 2.3.0 - Class MailCampaignsConnectorHelperMailCampaigns_API does not existMagento 2 : Area code must be set before starting a session?Magento Website ErrorI am trying to install Magento 2.3 with PWA studio






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.



enter image description here










share|improve this question









New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • this happens when you have deleted the .htaccess inside your pub/static folder

    – magefms
    2 days ago











  • please check, copy the .htaccess file from your old back then it should work

    – magefms
    2 days ago











  • did you run static contents deploy?

    – magefms
    2 days ago











  • thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.

    – user999627
    2 days ago












  • did it work? or not

    – magefms
    2 days ago

















0















I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.



enter image description here










share|improve this question









New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • this happens when you have deleted the .htaccess inside your pub/static folder

    – magefms
    2 days ago











  • please check, copy the .htaccess file from your old back then it should work

    – magefms
    2 days ago











  • did you run static contents deploy?

    – magefms
    2 days ago











  • thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.

    – user999627
    2 days ago












  • did it work? or not

    – magefms
    2 days ago













0












0








0








I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.



enter image description here










share|improve this question









New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.



enter image description here







magento2.3






share|improve this question









New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago







user999627













New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









user999627user999627

11




11




New contributor




user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • this happens when you have deleted the .htaccess inside your pub/static folder

    – magefms
    2 days ago











  • please check, copy the .htaccess file from your old back then it should work

    – magefms
    2 days ago











  • did you run static contents deploy?

    – magefms
    2 days ago











  • thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.

    – user999627
    2 days ago












  • did it work? or not

    – magefms
    2 days ago

















  • this happens when you have deleted the .htaccess inside your pub/static folder

    – magefms
    2 days ago











  • please check, copy the .htaccess file from your old back then it should work

    – magefms
    2 days ago











  • did you run static contents deploy?

    – magefms
    2 days ago











  • thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.

    – user999627
    2 days ago












  • did it work? or not

    – magefms
    2 days ago
















this happens when you have deleted the .htaccess inside your pub/static folder

– magefms
2 days ago





this happens when you have deleted the .htaccess inside your pub/static folder

– magefms
2 days ago













please check, copy the .htaccess file from your old back then it should work

– magefms
2 days ago





please check, copy the .htaccess file from your old back then it should work

– magefms
2 days ago













did you run static contents deploy?

– magefms
2 days ago





did you run static contents deploy?

– magefms
2 days ago













thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.

– user999627
2 days ago






thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.

– user999627
2 days ago














did it work? or not

– magefms
2 days ago





did it work? or not

– magefms
2 days ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






user999627 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268268%2frefused-to-apply-style-because-its-mime-type-text-html-is-not-a-supported-s%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








user999627 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















user999627 is a new contributor. Be nice, and check out our Code of Conduct.












user999627 is a new contributor. Be nice, and check out our Code of Conduct.











user999627 is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268268%2frefused-to-apply-style-because-its-mime-type-text-html-is-not-a-supported-s%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

Category menu linking direct to productHow to create an new observer on the event catalog_product_save_beforePHP else: statements in addtocart.phtml - Adding conditions to the Add To Cart button on product pageAdd template to custom adminhtml buttonAdd category title to product view pageEdit layered navigation filter titles in Magento 1.9.2Have category page main menu based on current categoryProduct collection displaying wrong categoryHow Can I Customize Magento Default URL (Product URL and Category URL)Programatically add cross sell products to all products within a certain categoryHow to create custom link for category?Creating Custom 'Buy Now' button with Custom buy now link