Task: Fix URLs in sitemap: remove www

Fix URLs in sitemap: remove www

05.09.2026bizneshelper.ru

Align the links in the sitemap to the main canonical mirror of the site without www.

Objective

Eliminate the mismatch between the main site mirror and the URLs published in the sitemap.

Current State

The main site mirror is used without www, but the links in the sitemap are generated with www. This creates unnecessary ambiguity for search engines and contradicts the chosen canonical URL structure.

What to Do

  • Locate where the base host for the sitemap is generated.
  • Modify the URL generation so that the sitemap uses the canonical domain without www.
  • Verify that all URLs in the sitemap are generated in a single format.
  • Compare the result with canonical settings, redirects, and the main site mirror.
  • Verify that the version with www is correctly redirected to the main mirror without www, if necessary.
  • After the fix, re-check the sitemap for mixed host variants.

Result

The sitemap contains only canonical URLs of the main mirror without www.

Acceptance Criteria

  • There are no URLs with www in the sitemap.
  • All links use a single canonical host.
  • The sitemap is consistent with canonical and redirect rules.
  • Search engines are not offered two variants of the same host.

Ворклоги

Task closed as obsolete

The old sitemap error with www has been documented as a legacy defect, but there is no longer any point in fixing it separately in the Ruby version. After the migration, the old site will not continue to run in parallel with the new system.

The canonical sitemap without www should be generated directly in haih-cms as part of the new SEO layer task. Therefore, the work has been moved to the target system, and this legacy ticket is now closed.