Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @haryowicaksono,

    You’re able to change the URLs that display in the sitemap by adding custom code. You can find more details and code examples in the Yoast sitemap API documentation.

    Thread Starter Kamarweb Product Team

    (@haryowicaksono)

    Hi @priscillamc

    Thank you for quick reply. As we know, Yoast support Cross domain canonical on advanced setting (Post). Is it possible to adding custom code based on this configuration (Cross domain canonical) ?

    I can’t find more details on Yoast sitemap API documentation

    Thank you

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Yes, it’s possible to change the canonical for a post or page to another domain as per this article.

    Could you please provide us with more details with what you want to achieve in changing the sitemap URL for your cross domain?

    Thread Starter Kamarweb Product Team

    (@haryowicaksono)

    hi @mikes41720

    Yeah, we need to adding custom code to XML Sitemap which is based on Cross domain canonical on advanced setting (Post).

    Hi,

    While we are not sure what all needs to be built in order to achieve your specific outcome we do know that you will likely need to use the canonical filter: wpseo_canonical, probably with some other code. This guide explains more about how to use that code along with some examples: https://gist.github.com/amboutwe/2aa7dcc9a38986e11fac68c7306cc091

    Unfortunately, there’s a difference between the support we can offer and the level of programming needed to change (core) features of our plugin. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. And even though we cannot be of any assistance, you’re completely free to change anything in the plugin to better suit your needs.

    We highly recommend checking out?our list of Yoast Partners here https://yoast.com/yoast-partners/ in case you are in need of development.

    We will also keep this issue open for 2 weeks in case someone from the community can help. Perhaps a developer watching these forums can assist further. After which, we will close in order to keep the overview.

    Thread Starter Kamarweb Product Team

    (@haryowicaksono)

    Thank you so much !! ?? @pcosta88

    We wish someone from the community can share their knowledge.

    Plugin Support devnihil

    (@devnihil)

    @haryowicaksono You’re welcome. We’ll go ahead and leave this post open in the hopes that another user can help.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘XML Sitemap for Headless WordPress’ is closed to new replies.