Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by George Botsev 3 years, 9 months ago.

Assisted by: George Botsev.

Author Posts
July 26, 2021 at 10:04 am #9271131

andreaG-83

Refused to execute script from 'hidden link' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

July 26, 2021 at 12:21 pm #9271815

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

Hello!
Please try adding this to your .htaccess file:

<IfModule mod_headers.c>
Header always set X-Content-Type-Options nosniff
</IfModule>
July 26, 2021 at 12:39 pm #9272053

andreaG-83

Hi George!
No, unfortunately this solution did not work.

July 26, 2021 at 12:49 pm #9272083

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

I am sorry to hear that it is not working.
This could be if you are using Nginx server - in Nginx, a directive in your nginx.conf should be added like this one:

add_header X-Content-Type-Options nosniff;

You then will have to restart the webserver and clear all server-side cache and browser cache to see the effects of this.