Title: Fix your code please &#8211; solution is here
Last modified: September 26, 2023

---

# Fix your code please – solution is here

 *  Resolved [nglavina](https://wordpress.org/support/users/nglavina/)
 * (@nglavina)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fix-your-code-please-solution-is-here/)
 * I have website in English as default language, than I translated it into Chinese
   and I made subdirectories and set up Chinese language as first language. If force
   language in custom links is set to YES than English version of website links 
   don’t work at all. If set force language in custom links to NO everything works
   as supposed but then I’m missing this important feature. I found solution in 
   topic: [https://wordpress.org/support/topic/translatepress-appends-1-to-every-url/](https://wordpress.org/support/topic/translatepress-appends-1-to-every-url/)
 * TranslatePress please fix this code so I don’t have to. Do it on every plugin
   update.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Anghel Emanuel](https://wordpress.org/support/users/anghelemanuel99/)
 * (@anghelemanuel99)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fix-your-code-please-solution-is-here/#post-17082974)
 * Hello there,
 * Can you enable this feature to check this issue on your website?
 * I will be glad to see what is happening and have a solution for your issue.
 * Let me know about this!
 * Kind Regards,
 *  Thread Starter [nglavina](https://wordpress.org/support/users/nglavina/)
 * (@nglavina)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fix-your-code-please-solution-is-here/#post-17096111)
 * my website is [https://kefir.link](https://kefir.link)
 * I fixed issue as was suggested on topic [https://wordpress.org/support/topic/translatepress-appends-1-to-every-url/](https://wordpress.org/support/topic/translatepress-appends-1-to-every-url/)
 * In the file wp-content/plugins/translatepress-multilingual/includes/advanced-
   settings/do-not-translate-certain-paths.php, comment or delete the lines 319 
   and 320 :if( !isset( $TRP_LANGUAGE ) || $settings[‘default-language’] == $TRP_LANGUAGE)
   return;
 * can you implement this fix in future plugin update?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fix your code please – solution is here’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [nglavina](https://wordpress.org/support/users/nglavina/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/fix-your-code-please-solution-is-here/#post-17096111)
 * Status: resolved