Hi,
I’m trying to implement a json config into /.well-known but I can’t seem to get WordPress to set the content type at all (I need to set it to Application/json.
Things I’ve tried:
1. Setting up a .htaccess file in the .well-known folder:
<Files “com.apple.remotemanagement”>
ForceType application/json
</Files>
Also this in the root htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^\.well-known/com\.apple\.remotemanagement$ – [T=application/json]
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Neither have worked sadly. I’m hoping someone can suggest something else
[ad_2]