Parked domains: How to fix broken images and links in WordPress

Do you have a Parked Domain on a WordPress website (i.e. a domain that points to the website content of another domain) where the main website displays correctly, yet the Parked Domain is missing certain images or has error icons over the social media links?

The solution is to add the following code to the Parent Domain’s ‘.htaccess’ file:

<IfModule mod_headers.c>

<FilesMatch ".(ttf|ttc|otf|eot|woff|font.css|css)$">

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

</FilesMatch>

</IfModule>

If you need assistance, please contact us..