As the title says, I have a multi-site setup and the apperance is customized with child themes.
The main site: themainsite.com
Secondary site foo.com
When you look into the source code of foo.com, you see some URLs referencing to the mainsite. Such as:
<link rel="stylesheet" href="http://www.themainsite.com/wp-content/themes/sometheme/css/some.css" type="text/css" media="screen" />
I checked wordpress documentation for get_stylesheet_directory_uri, but could not find an answer. Is it possible to remove these kind of references to the main site?
UPDATE: All the CSS/JS references are handled in the header.php of the parent template like below. I already have a header.php oin my child theme which overrides the parent theme's header.php.
<link rel="stylesheet" href="<?php echo get_template_directory_uri() ?>/css/some.css" type="text/css" media="screen" />