Skip Navigation

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

Problem:
The client reported that Rankmath is not displaying some translated

/hr/

pages in the sitemap, despite having created a caching exception in W3C.

Solution:
First, we checked if there was a

noindex

directive or a

robots.txt

file blocking the pages, which there wasn't. We also verified that hreflang tags were correctly implemented using TechnicalSEO's hreflang tool.

Next, we suggested manually submitting the URLs to search engines using Rankmath's IndexNow feature, as detailed in their documentation: How to use IndexNow.

If these steps did not resolve the issue, we offered to debug the website further, for which we would need a Duplicator package of the site as per the instructions here: Providing supporters with a copy of your site.

Please note that the solution provided might be irrelevant due to being outdated or not applicable to your specific case. If the issue persists, we highly recommend 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. If necessary, do not hesitate 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 5 replies, has 2 voices.

Last updated by Bruno Kos 9 months, 3 weeks ago.

Assisted by: Bruno Kos.

Author Posts
February 19, 2024 at 12:09 pm #15318033

matejM-6

Rankmath isn't showing some translated /hr/ pages. They are missing in sitemap

I have created the caching exception in W3C. Not in Autoptimize:

hidden link

February 19, 2024 at 4:20 pm #15319558

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Thank you for contacting WPML support!

Can you please provide us with the debug information, so that we can get a better idea of your setup?

https://wpml.org/faq/provide-debug-information-faster-support/

Make sure to have https://wpml.org/download/yoast-seo-multilingual/?section=changelog plugin.

Can you give me an example URL of the page that doesn't appear in hidden link?

Also, can you try with regenerating the sitemap?
hidden link

Regards,
Bruno Kos

February 19, 2024 at 5:17 pm #15319676

matejM-6

I have just installed WPML SEO plugin and nothing changed.

This is one URL not on sitemap:
hidden link

I have updated settings in Rankmath -> Sitemap

February 20, 2024 at 7:27 am #15320734

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I am not sure about this as this process should go automatically, also I don't see noindex in the source of this page which may prevent this, I suppose it is not being blocked by robots.txt file?

So nothing like:

User-agent: *
Disallow: /hr/blog-hr/apaurin-za-spavanje/

If you have it? In this example, User-agent: * applies the rule to all crawlers, and Disallow: /hr/blog-hr/apaurin-za-spavanje/ tells these crawlers not to access the URL ending with /hr/blog-hr/apaurin-za-spavanje/.

Also if I check from hidden link, all looks correct, hreflangs are correct.

What if you try submiting it like this?
hidden link.

It does however look like as if it was crawled successfully - see my image.

rezultat.jpg
February 20, 2024 at 9:57 am #15321509

matejM-6

Well, these are just workarounds.

But thank you for the help!

February 20, 2024 at 2:33 pm #15323419

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

We can proceed here by debugging your website, let me know if that will work for you as we may need Duplicator package:
https://wpml.org/faq/provide-supporters-copy-site/

Otherwise we can close the ticket.