Mysql 5.5.27
PHP 5.5.9
Drupal 8.1.7
Drush 8.1.2
Domain
Domain Access
Domain Alias
Domain Configuration
Domain Content
Domain Source
Simple Sitemap
example.com
site0.example.com
site1.example.com
$sites = array (
'site0.example.com' => 'child_sites',
'site1.example.com' => 'child_sites',
);
$childSite = current(explode('.', $request->getHost()));
if (in_array($childSite, array('site0', 'site1'))) {
// Good
} else {
throw new NotFoundHttpException('Invalid child site');
}
$databases['default']['default'] = array(
'database' => 'DATABASE',
'username' => 'USERNAME',
'password' => 'PASSWORD',
'prefix' =>
array (
'default' => '',
'simple_sitemap' => $childSite . '_',
),
'host' => 'localhost',
'port' => '3306',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
);
simple_sitemap
site0_simple_sitemap
site1_simple_sitemap
Requests to /sitemap.xml the last generated sitemap for all sites, not the sitemap generated for the host. The data in the table for each site is correct.
Possible workarounds:
Fixed
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.