toddulus
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Raft] Hamburger menu broken because of CORS error@ais100 Yep no worries. There is probably a more elegant solution, but this worked for me for now. Also this is a GoDaddy error, so GoDaddy should fix it, but in the meantime…
Edit file top section of .htaccess file to include this header:
Header set Access-Control-Allow-Origin “*”e.g:
# BEGIN GD-SSL
<IfModule mod_rewrite.c>
...
Header add Strict-Transport-Security "max-age=300"
Header always set Content-Security-Policy "upgrade-insecure-requests"
Header set Access-Control-Allow-Origin "*"
</IfModule>
# END GD-SSL
For the change to be applied, clear your site’s cache in the Go Daddy console.Go carefully when editing this file. I suggest creating a backup of the file before editing it.
Forum: Themes and Templates
In reply to: [Raft] Hamburger menu broken because of CORS errorThanks @rodicaelena
Forum: Themes and Templates
In reply to: [Raft] Hamburger menu broken because of CORS errorI got it working. Had to change .htaccess. AS I suspected it was related to GoDaddy config – somehow. I have a working theory that this relates to GoDaddy config and the April upgrade to WordPress 6.5
Still can’t figure out why it wasn’t a problem for other local javascript files.
I should point out this issue occured on many themes, not just Raft