Skip to content Skip to sidebar

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

Problem:
The client was experiencing an issue where the hreflang links were incorrectly using HTTP instead of HTTPS.
Solution:
We recommended checking the WordPress Settings under Settings -> General to ensure that the WordPress Address (URL) and Site Address (URL) are both set to use HTTPS. We provided a screenshot to guide the client through this process. After making the necessary changes to use HTTPS, we asked the client to verify that the source code now reflects the correct protocol.

Please note that this solution might not be applicable if it's outdated or not relevant to your specific case. If after checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins, you're still experiencing issues, we encourage you to open a new support ticket with us.

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 11 months ago.

Assisted by: Osama Mersal.

Author Posts
April 30, 2024 at 12:31 pm

coralieF-3

here's how you can see the problem:

go here, for example hidden link and view source

hreflang links are all like so: href="hidden link;

rather than: href="hidden link;

April 30, 2024 at 2:41 pm #15581777

Osama Mersal

Hi,

I've escalated the ticket to our 2nd tier support team and will update you as soon as I get their reply.

Best regards,
Osama

May 2, 2024 at 8:03 am #15586001

Osama Mersal

Hi,

Thanks for your patience. The issue happens because the site URL is HTTP in Settings-> General. (Kindly check the attached screenshot)

I changed the URLs in the staging site. Please check the source code. (view-source:hidden link)

Best regards,
Osama

image.png
May 2, 2024 at 11:33 am #15586877

coralieF-3

Thanks Osama.
That's exactly what was causing the issue.