Skip Navigation

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 1 reply, has 2 voices.

Last updated by Dražen 1 year, 10 months ago.

Assisted by: Dražen.

Author Posts
March 24, 2023 at 2:24 pm #13323985

shacharA

Dear WPML Support Team,

I am writing to report a problem that I have encountered while using the WPML plugin. Specifically, I am experiencing an issue with the sitemap.xml generated by the Yoast plugin.

When attempting to access the sitemap using the following links:

hidden link
hidden link
I am encountering an error that reads:
"This page contains the following errors:
error on line 3 at column 6: XML declaration allowed only at the beginning of the document
Below is a rendering of the page up to the first error."

I have attempted to disable all WPML-related plugins and have confirmed that the sitemap is displayed correctly without any errors.

I would greatly appreciate your assistance in resolving this issue as soon as possible. Please let me know if you require any additional information from me.

Thank you for your attention to this matter.

Screenshot_14.jpg
March 27, 2023 at 6:50 am #13334157

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for contacting us.

I know you have reported an issue is related to WPML, but to be clear can you please check and next get back to:

1) Please check if the issue happens when only WPML plugins disabled?

2) Please check if the issue happens when only WPML plugins and Yoast SEO are activated, all other disabled?

Since I have checked and this is usually caused by blank lines in your theme code or some plugin files, which is a low chance is coming from default WPML, since we would have many other reports from other users also.

Related article:
- hidden link

Please check and let me know how it goes.

Thanks,
Drazen