Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #379027

    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

    #379204

    Hi martinval!

    Try adding this to your .htaccess file.

    <FilesMatch ".(eot|ttf|otf|woff)">
    	Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

    Regards,
    Elliott

    #379351

    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

    #379745

    Hi!

    Try adding just this.

    Header set Access-Control-Allow-Origin "*"
    

    Also be sure to deactivate all plugins while testing.

    Cheers!
    Elliott

    #380039

    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

    #380206

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Icons not showing on domain that is pointed to server IP’ is closed to new replies.