Skip to content

Commit

Permalink
Merge pull request #4 from BeAPI/fix-sitemap-xml
Browse files Browse the repository at this point in the history
Fix sitemap xml
  • Loading branch information
lphoumpakka authored Dec 2, 2020
2 parents 8187e56 + 0ff84ca commit 76c0f50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mercator-domain-replacements.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ public function translate_sites_url() {
$GLOBALS['mercator_current_mapping'] = $mapping;

$mapped_url = mangle_url( $domain_internal, '', '', $site_id );

$GLOBALS['mercator_current_mapping'] = $_tmp;

if ( $mapped_url === $domain_internal ) {
continue;
}
Expand Down

0 comments on commit 76c0f50

Please sign in to comment.