Hi there,
This site is hosted on a vps here and everything looks fine.
Today I got the actual domain pointed to the server and when you look at the site from here, some arrows and icons are not showing.
Haven’t come across this issue before. Any ideas what this could be and how to fix it ?
Thanks in advance,
Martin
Hi martinval!
Try adding this to your .htaccess file.
<FilesMatch ".(eot|ttf|otf|woff)">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
Regards,
Elliott
Hi Elliot,
My htacces looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I’ve tried adding your lines of code before, in the middle and after and in all cases it breaks access to the site completely.
Where should I put it exactly for it to work ?
Thanks in advance for your response,
Martin
Hi!
Try adding just this.
Header set Access-Control-Allow-Origin "*"
Also be sure to deactivate all plugins while testing.
Cheers!
Elliott
Hi Elliot,
I’ve tried adding this line with all plugins deactivated but whereever I put it, i get a server connection error.
Any other suggestions ?
Also, pls tell me axactly on which line to put the code for it to work if possible.
Regards,
Martin
Hi Elliot,
Problem solved !
I didn’t update the home / site url entries in the database…
I didn’t realise I had to also do this when I just point a domainname to an installation.
Apologies, and thanks anyway for your help.
Regards,
Martin