dmitriy1993
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Yoast seo sitemaps@maximbelenkii , Thank you very much for your advice, but I think that installing even more plugins to cover the problems of other plugins is bad practice ??
Regarding the Yoast Seo plugin and its tools, I agree with you; it does not allow you to perform all the necessary manipulations with links in the sitemap. It looks like the function it provides looks for the post ID by link and hides all links that relate to the post. And it works correctly if each translated version of the post has its own ID, for example, as is implemented in Polylang and similar plugins.
It seems to me that the solution should be simple and elegant. For example, in https://github.com/VaLeXaR/wp-multilang/blob/master/includes/integrations/class-wpm-yoast-seo.php line 293, the add_alternate_opengraph_locale() function contains a check for the value of the post metadata that is being added from the corresponding menu in the sidebar. Works correctly for links with the hreflangs attribute.But in the same file on line 178, there is a function add_alternate_sitemaplinks(), which is apparently responsible for displaying links in the yoast seo sitemap. This function does not bind to metadata like the function above. Perhaps this will solve the problem.
@magazine3, what do you think as a developer?Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Yoast seo sitemaps@magazine3, https://topcasinoexpert.com/country-sitemap.xml/ here is one example of a sitemap
Another question arises, what will the field configuration look like if I have a repeater field with a nested repeater?