Not ```
$origin_url = āhttpS://wwtdigital.comā;
Right
$origin_url = 'http://wwtdigital.com';
!!!
and in .htaccess
<IfModule mod_headers.c>
<IfModule mod_setenvif.c>
SetEnvIf Origin "^(http://yourdomain\.com|http://localhost:3000)$" CORS=$0
</IfModule>
Header set Access-Control-Allow-Origin %{CORS}e env=CORS
Header append Vary "Origin" env=CORS
<FilesMatch "\.(php|html)$">
</FilesMatch>
</IfModule>
# END HttpHeaders