Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 6 replies, has 0 voices.

Last updated by Waqas Bin Hasan 2 days, 3 hours ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 25, 2025 at 12:36 pm

ziga pipan

Background of the issue:
I have a site in two languages (SI, HR) with the second language being on a different domain. The original domain is hidden link and the HR domain is hidden link. I am trying to fix a sitemap issue.

Symptoms:
The sitemap is showing 404 errors because it links to hidden link instead of hidden link.

Questions:
How can I fix the sitemap links to point to the correct domain for the HR language?

July 25, 2025 at 1:45 pm
July 25, 2025 at 1:47 pm #17271388

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Reference to our recent chat, I've moved to this ticket for further investigation. As mentioned, I'll be off over the weekend and 'll be able to attend on Monday and 'll keep you posted about the progress.

Regards.

July 28, 2025 at 6:39 am #17273779

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I am working on this and 'll get back to you as soon as I find something or have a solution.

July 28, 2025 at 11:06 am #17274591

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I've prepared and 've downloaded the site's Duplicator package. I'll setup and investigate this on local and 'll update you accordingly.

July 28, 2025 at 2:00 pm #17275638

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I am still working on this and trying to setup on my local. I'll update you by tomorrow on this.

Thanks again for your patience and cooperation.

July 29, 2025 at 12:23 pm #17278762

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I reproduced the issue in local with minimal setup, however, in another fresh sandbox issue does not happen. So I've escalated this to our 2nd tier team for further investigation, along the package of your site.

I'll update you as soon as there's more to it.

July 30, 2025 at 12:09 pm #17282043

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

Our team has investigated the issue in detail and found that issue isn't related to WPML or WPML SEO, but is coming from Rank Math SEO, as they put it:

Without WPML there are 131 Posts. The posts sitemap only shows 88 Posts.

Without WPML there are a total of 39 Pages. The pages sitemap shows only 8 Pages.

The sitemaps should work without WPML for them to be expected to work with WPML.

It is requested to check with Rank Math support please, so they can provide you a solution. Once it works without Rank Math, then check with WPML and WPML SEO and if issue arises due to WPML, please feel free to report again.