TL;DR; social icons not showing on website that's an alias of another website.
My sister has made a wordpress website and I uploaded it for her because she couldn't work with ftp and such. I've followed a simple guide on going from a .com to a org wordpress site and it all worked pretty fine but I had to upload it to http://tsjevicom.webhosting.be/ because the domain tsjevi.com was still being transferred between 'Registrars' (not sure that's the word). So I also bought tsjevi.be and redirected requests from there and now did the same for tsjevi.com.
Problem is that the social icons tsjevi.com and tsjevi.be are not displaying correctly. I guess this is because it's looking them up trough a relative path and it can't find them from cross origin resources. I'd like to avoid installing the site again or diving too deep in how wordpress actually works so is there a simple solution for this?
I just changed my A-records of tsjevi.be to those of tsjevicom.webhosting.be. And tsjevi.com automatically uses the same content as tsjevicom.webhosting.be. I did the installation part on tsjevicom.webhosting.be/wp-admin Afterwards I tried to change the site in the wp-admin gui to tsjevi.be but that resulted in the site not being accessible anymore so I looked up a bit and changed the end wp-config.php to:
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); define('WP_HOME','http://tsjevicom.webhosting.be'); define('WP_SITEURL','http://tsjevicom.webhosting.be'); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . 'wp-settings.php');
I think I only added define but I'm not sure anymore.
I just checked the database ad in wp_options I have:
option_name option_value autoload
siteurl http://tsjevi.be yes
home idem (no more than 2 links) yes
blogname Evi yes