79544131

Date: 2025-03-30 02:51:49
Score: 3.5
Natty:
Report link

i face also a problem with CORS policy. Access to font at 'https://tadiktia.com/wp-content/uploads/elementor/google-fonts/fonts/forum-6aey4ky-vb8ew8iropi.woff2' from origin 'https://www.tadiktia.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. i install a pluging better search replace to change the URL. i also change manualy the urls in appearance--> general. i also add in .htaccess way,

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "https://www.tadiktia.com"
    Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"
    Header set Access-Control-Allow-Headers "Content-Type"
</IfModule>

and

RewriteEngine On
RewriteCond %{HTTP_HOST} ^tadiktia.com [NC]
RewriteRule ^(.*)$ https://www.tadiktia.com/$1 [L,R=301]

And in funtions.php :

 function add_cors_http_header(){
        header("Access-Control-Allow-Origin: *");
    }
    add_action('init', 'add_cors_http_header');

And still i didnt resolve it... Please has anyone face the same or can help me? thank you very much in advance!!!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (3): thank you very much in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harris K.