Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where the page sitemap at https://crafts.labanoris.lt/page-sitemap.xml returns blank, while other sitemaps function correctly. The issue persists even after disabling WPML SEO, indicating incorrect sitemap entries due to duplicate default language URLs.
Solution:
1. Disable all WPML plugins to verify if the issue is related to WPML. If the problem persists, it might be related to another SEO plugin.
2. Check the source of the page sitemap for any incorrect entries. Specifically, look for URLs including 'ssl=1' and remove this parameter. Instructions for this can be found in the WPML forum documentation.
3. Check for broken image URLs in the sitemap, particularly those ending with a dangling '&'. These should be corrected by removing the '&' or '&'.

If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.

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.

This topic contains 5 replies, has 1 voice.

Last updated by gretaS-5 1 month, 2 weeks ago.

Assisted by: Bobby.

Author Posts
May 14, 2025 at 9:41 am #17031237

gretaS-5

Background of the issue:
I am trying to generate sitemaps for my website, and the sitemaps are located here: hidden link. However, the specific page sitemap at hidden link is not displaying as expected.

Symptoms:
The page sitemap at hidden link returns blank, while other sitemaps are functioning correctly.

Questions:
Why is the page sitemap returning blank?
How can I ensure the page sitemap displays correctly for both default (Lt) and English languages?

May 15, 2025 at 6:15 am #17035047

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Please disable WPML plugins and check if this issue still happens and is caused by WPML. If issue still happens, then it is not related to WPML and you should check with SEO plugin support.

Otherwise let us know so we can further help.

Regards,
Drazen

May 15, 2025 at 10:31 am #17036324

gretaS-5

Hello,

WPML SEO is causing the issue. When deactivated, the page-sitemap is visible, however, without WPML SEO the sitemaps are incorrect - duplicate default language URLs instead of 1 default, 1 translation. In such case, this issue has to be fixed.

Clipboard01.jpg
May 16, 2025 at 7:21 am #17039546

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please review the following documentation on what is possibly causing this behavior.

https://wpml.org/forums/topic/wpml-seo-plugin-is-causing-the-page-sitemap-xml-to-be-empty-blanc-yoast-seo-2/

1. View the source of the page
view-source:hidden link

2. Locate the pages in the sitemap that are including ssl=1 in the URL

3. Then go to that page in the backend of your site, switch to "Code" view in Gutenberg editor and remove the value &ssl=1 and save.

Once that is done it will work as expected. Based on your page's source there are 9 entries that need to be fixed.

The adding of the ssl=1 is caused by a known Jetpack issue discussed here:
https://wordpress.org/support/topic/jetpack-cdn-ssl1-problem/

May 19, 2025 at 5:58 am #17046434

gretaS-5

Thank you for the information. I have located and removed the ssl=1 on pages in both languages. Also rebuilt sitemap, cleared cash etc., however, the page sitemap is still blank.

I have read the provided documentation, however it did not suggest the issue had been solved.

Please provide guidance on how to solve the issue.

May 19, 2025 at 5:57 pm #17050090

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me!

The rest of the sitemaps look OK, however, the issue with the pages one still remains.

After reviewing it's source again I can see the following issue:

Broken image:loc URLs

Some <image:loc> entries end with a dangling &, which makes them invalid URLs:

<image:loc>hidden link...jpg?resize=300%2C300&</image:loc>

If possible, please review and fix those URLs and let me know your results.

I'd remove the & as well as &amp and test again.

You can compare the results with the ones from the products XML
view-source:hidden link

May 20, 2025 at 6:52 am #17051061

gretaS-5

This actually helped. Thank you so much!