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 Waqar Ali 1 year, 4 months ago.

Assisted by: Waqar Ali.

Author Posts
October 24, 2023 at 11:23 am #14646887

martaM-8

Tell us what you are trying to do?

I created my website in english (default), after it went online we changed the default language to portuguese and now its not indexing the portuguese pages only the english.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

inpokulis.com

October 25, 2023 at 7:19 am #14657147

Waqar Ali

Hi,

Thank you for contacting us and I'd be happy to assist.

I've checked the English and Portuguese versions of your website's homepage and noticed that the language code for the 'Portuguese' version is not properly set in the 'HTML' tag.

Can you please go to WP Admin -> WPML -> Languages -> Site Languages -> Edit Languages and make sure that the correct language codes are set for both languages?
( ref: https://wpml.org/documentation/getting-started-guide/language-setup/#site-languages )

Once updated, please clear all involved caches and then submit the website's sitemap for re-indexing.

I hope this helps and please let me know if you need further assistance.

regards,
Waqar