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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 10 months ago.

Assisted by: Prosenjit Barman.

Author Posts
April 14, 2023 at 11:57 pm #13477055

louisN-4

according to google, the link rel format:
hidden link

is:
<link rel="alternate" hreflang="lang_code" href="url_of_page" />

however editing kideno.com/he/

i see our format is missing the " /> at the end
<link rel="alternate" hreflang="he" href="hidden link">

i think it might be critical, what do you think?

April 17, 2023 at 12:02 pm #13487461

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for reaching out to us. I will try my best to address your concerns.

I totally understand your concern. Please be informed that in HTML5, some tags don't require any closing tag. Those are called void elements (hidden link).

Among them, The link tag is one of the void elements for which, the closing tag is not mandatory if you're using HTML 5. Link can be defined with and without the closing tags by including the "hreflang" as an attribute. Please don't worry if you're not seeing the closing tag. The modern browser and Google crawler can process the link tag in both formats correctly.

Without closing Tag: <link rel="alternate" hreflang="en" href="hidden link">
With closing Tag: <link rel="alternate" hreflang="en" href="hidden link" />

But, in some cases, we found that some users had issues in the Google Crawler due to not including the trailing slash at the end of the URL(example.com/). Since it is added already, hopefully, you'll not face any critical issues due to that.

But, let me know if you encounter any issues or need further clarification in this matter. I will be happy to help.

Best Regards,
Prosenjit