Title: Wrong multilingual URLs listed
Last modified: March 18, 2024

---

# Wrong multilingual URLs listed

 *  Resolved [kram09890](https://wordpress.org/support/users/kram09890/)
 * (@kram09890)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/)
 * Hi!
 * I hope you are fine. And thanks for your work on this plugin. 🙂
 * We installed it for our webiste and found an issue. Our site is multilingual 
   site using PolyLang, and has several custom post types that use custom URLs.
 * We found out that in these post types are listed correctly in the original language(
   English), but not in the others. URLs are listed like this:
    - In English: [http://www.our-site.org/en/](http://www.our-site.org/en/)**post-
      type-name/post-name**
    - Other languages: [http://www.our-site.org/ca/](http://www.our-site.org/ca/)**
      post-name/post-name**
 * It is strange that these unwanted URLs apparently redirect to the correct URLs.
   So:
    - This URL: [http://www.our-site.org/ca/](http://www.our-site.org/ca/)**post-
      name/post-name**
    - Redirects to: [http://www.our-site.org/ca/](http://www.our-site.org/ca/)**
      post-type-name/post-name**
 * Just regenerated the permalinks again, to be sure. And the issue is still there.
 * Thanks again and in advance!
    -  This topic was modified 2 years, 2 months ago by [kram09890](https://wordpress.org/support/users/kram09890/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-multilingual-urls-listed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/page/2/?output_format=md)

 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17522921)
 * [@kram09890](https://wordpress.org/support/users/kram09890/), we tried duplicating
   this use case ourselves and couldn’t find an issue. Would you mind emailing us
   so we can perform a deeper investigation?
 *  Thread Starter [kram09890](https://wordpress.org/support/users/kram09890/)
 * (@kram09890)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17528405)
 * Indeed Auctollo.
 * I’ll email you to [support@auctollo.com](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/support@auctollo.com?output_format=md)
   with all the specs.
 * Thanks!
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [2 years ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17704807)
 * Hi!
 * Same issue here, with WP and Polylang up to date.
 * `https://mywebsite.com/decouvrir/`
 * Became :
 * `https://mywebsite.com/es/descubrir/descubrir
   https://mywebsite.com/en/discover/
   discover
 * Thanks!
 *  Thread Starter [kram09890](https://wordpress.org/support/users/kram09890/)
 * (@kram09890)
 * [2 years ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17706364)
 * They fixed it a couple of weeks ago, at least for my case.
 * But they asked me to get the plugin from their GitHub repo, so I guess it may
   not be ready thourgh WordPress updates.
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [2 years ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17707858)
 * Thanks [@kram09890](https://wordpress.org/support/users/kram09890/) !
 * Do you have the link of the good release? This [one](https://github.com/Auctollo/google-sitemap-generator/releases/tag/v4.1.3-textual-changes)?
 *  Thread Starter [kram09890](https://wordpress.org/support/users/kram09890/)
 * (@kram09890)
 * [2 years ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17707881)
 * Try just downloading the whole repository via Clone > ZIP.
 * If you read the text in that seme page, you will see that they are at the 4.1.20(
   2024-03-23).
 * I believe I just did that.
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [2 years ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17707961)
 * 4.1.20 doesn’t fix my problem, even after clearing the cache and re-publish the
   page 🫤
 * Any idea [@auctollo](https://wordpress.org/support/users/auctollo/) ?
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [2 years ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17713548)
 * [@theamnesic](https://wordpress.org/support/users/theamnesic/), are you able 
   to email us so we can investigate more deeply, please?
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17977815)
 * Hi [@auctollo](https://wordpress.org/support/users/auctollo/),
 * I sent you an email on April 25, do you have any news about this?
 * 4.1.21 doesn’t fix this bug.
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17978840)
 * Are you able to try the [master](https://github.com/Auctollo/google-sitemap-generator)
   on GitHub?
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17985393)
 * It’s working, thank you!
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17992244)
 * Little update, got this error :
 * `Warning: Undefined array key "xml_sitemap" in wp-content/plugins/google-sitemap-
   generator/class-googlesitemapgeneratorloader.php on line 288`
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-17998099)
 * Thanks for letting us know [@theamnesic](https://wordpress.org/support/users/theamnesic/).
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-18000046)
 * This is now fixed in the master branch on GitHub.
 *  [theamnesic](https://wordpress.org/support/users/theamnesic/)
 * (@theamnesic)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/#post-18117452)
 * Hi!
 * A new error in the master, tested with PHP 8.1, 8.2 and 8.3 :
 * `Deprecated: Optional parameter $args declared before required parameter $gsg
   is implicitly treated as a required parameter in /wp-content/plugins/google-sitemap-
   generator/class-googlesitemapgeneratorstandardbuilder.php on line 1166`
 * The custom post slug doesn’t work, I’ve got :
 * `/artistes/thandiwe-newton/
   /en/thandiwe-newton/
 * Instead of :
 * `/artistes/thandiwe-newton/
   /en/artists/thandiwe-newton/
    -  This reply was modified 1 year, 6 months ago by [theamnesic](https://wordpress.org/support/users/theamnesic/).

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/page/2/?output_format=md)

The topic ‘Wrong multilingual URLs listed’ is closed to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

 * 19 replies
 * 3 participants
 * Last reply from: [Auctollo](https://wordpress.org/support/users/auctollo/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/wrong-multilingual-urls-listed/page/2/#post-18159486)
 * Status: resolved