Title: Stop converting &amp; in &amp;
Last modified: August 21, 2016

---

# Stop converting & in &

 *  [HinCzn](https://wordpress.org/support/users/hinczn/)
 * (@hinczn)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/stop-converting-in/)
 * Hi,
 * I’ve a trouble.
    Indeed, in my PHP file, i’m dynamically constructing an URL 
   for a custom breadcrumb like `'<a href="'.get_site_url().'?p='.$target_id.'&lang
   ='. $this->lang .'">'.$target_name.'</a>'` When I’m hovering my breadcrumb everything
   is fine i see at the bottom of my browser an URL like [http://my-wordpress-website/?p=xxx&lang=en](http://my-wordpress-website/?p=xxx&lang=en)
   BUT when I click the link the URL is changing on [http://my-wordpress-website/?p=xxx&lang=en](http://my-wordpress-website/?p=xxx&lang=en)
   and the site switch on the default language without the en language. I’ve try
   many solutions like commenting lines in formatting.php or removing wptexturize
   filter, in vain.
 * Have you a solution to deal with ?
 * Thanks by advance.
 * Regards,

The topic ‘Stop converting & in &’ is closed to new replies.

## Tags

 * [ampersand](https://wordpress.org/support/topic-tag/ampersand/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 0 replies
 * 1 participant
 * Last reply from: [HinCzn](https://wordpress.org/support/users/hinczn/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/stop-converting-in/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
