Title: WPML and base URL for code insertion
Last modified: August 31, 2016

---

# WPML and base URL for code insertion

 *  [kech61](https://wordpress.org/support/users/kech61/)
 * (@kech61)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wpml-and-base-url-for-code-insertion/)
 * Hi,
 * I have WPML-Site where I load some code snippets into crayon. I’v set the base
   url for these code snippets to
    [http://www.mysite.com/wp-content/snippets/](http://www.mysite.com/wp-content/snippets/)
   In german (WPML-base language) this is fine. In english WPML adds the language-
   directory to the path: [http://www.mysite.com/wp-content/snippets/en/](http://www.mysite.com/wp-content/snippets/en/)
   leading to nowhere cause there is no physical directory with this name on the
   server. With former versions of wpml/crayon this was not the case, the base-url
   stayed untouched.
 * Does anyone know how to resolve this issue?
    I know that I should post this on
   WPML-Forum, however I notice from former requests that this would be waste of
   time.
 * Best regards
    Christian
 * [https://wordpress.org/plugins/crayon-syntax-highlighter/](https://wordpress.org/plugins/crayon-syntax-highlighter/)

The topic ‘WPML and base URL for code insertion’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/crayon-syntax-highlighter_b0c4c0.
   svg)
 * [Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/crayon-syntax-highlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/crayon-syntax-highlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crayon-syntax-highlighter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kech61](https://wordpress.org/support/users/kech61/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/wpml-and-base-url-for-code-insertion/)
 * Status: not resolved