Thanks for the question.
To disable strict MIME checking in Azure, you can try adding a web.config file in the root directory of your WordPress site. Here are the steps to create and add the web.config file:
-
- Log in to your Azure portal and navigate to your WordPress site.
- Open the "Advanced tools" section by selecting "Advanced tools" from the "Development Tools" menu.
- In the "Advanced tools" section, select "Go" under the "Debug console" dropdown and choose "CMD".
- Navigate to the root directory of your WordPress site by running the command "cd site\wwwroot".
- Create a new file called "web.config" by running the command "echo > web.config".
- Open the web.config file by running the command "edit web.config".
- Add the following lines of code to the web.config file:
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".*" mimeType="application/octet-stream" />
</staticContent>
</system.webServer>
</configuration>
Save and close the web.config file and restart your WordPress site. This should disable
strict MIME checking and allow you to activate the necessary plugins.
Hope that helps. Please let us know if you have other questions.
Best,
Grace