The sitemap of yoastSEO is appended with wrong links by translatepress.
-
translatepress will append multi-language URLs to the sitemap generated by yoastSEO, but the bad thing is that the URLs added end in “/”, which will lead to a redirect error in my google backend, and won’t be indexed by google. Trying to use “wpseo_xml_sitemap_post_url” and “wpseo_sitemap_entry” filters failed because I couldn’t get the translatepress appended link.
This is a serious problem for me, is there a solution? How can I change the link appended by translatepress after it has appended?Here are the examples generated by translatepress, the first one is the correct one generated by yoastSEO, the last 2 are appended by translatepress:
https://staging.xxx.com/video-download/watermark-5-methods.html
https://staging.xxx.com/zh/watermark-5-methods.html/
https://staging.xxx.com/ja/watermark-5-methods.html/
- You must be logged in to reply to this topic.