$slugs = 'bestes-odoo-hosting-2026|cheap-odoo-hosting-2026|kostenloses-odoo-hosting-2026|odoo-hosting-deutschland-2026|odoo-hosting-oesterreich-2026|odoo-hosting-schweiz-2026|best-odoo-hosting-2026|free-odoo-hosting-2026|odoo-hosting-germany-2026|odoo-hosting-uk-2026|odoo-sh-alternatives-2026|odoo-vps-hosting-2026' $repo = Split-Path -Parent $PSScriptRoot $repo = Split-Path -Parent $repo foreach ($f in @('sitemap-en.xml','sitemap-fr.xml','sitemap-pt.xml','sitemap-ar.xml')) { $path = Join-Path $repo $f if (-not (Test-Path $path)) { continue } $c = [System.IO.File]::ReadAllText($path) $re = '(?s)\s*\s*https://www\.odoo-expertos\.com/(en|fr|pt|ar)/odoo-hosting/(' + $slugs + ')/.*?' $new = [regex]::Replace($c, $re, '') if ($new -ne $c) { [System.IO.File]::WriteAllText($path, $new) Write-Host "Cleaned $f" } else { Write-Host "No change $f" } }